Struct brane_prx::spec::NewPathRequestTlsOptions
source · pub struct NewPathRequestTlsOptions {
pub location: String,
pub use_client_auth: bool,
}
Expand description
Defines the body for TLS options.
Fields§
§location: String
The location for which we use TLS. Effectively this means a root certificate to use.
use_client_auth: bool
Whether to load a client certficate or not.
Trait Implementations§
source§impl Clone for NewPathRequestTlsOptions
impl Clone for NewPathRequestTlsOptions
source§fn clone(&self) -> NewPathRequestTlsOptions
fn clone(&self) -> NewPathRequestTlsOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NewPathRequestTlsOptions
impl Debug for NewPathRequestTlsOptions
source§impl<'de> Deserialize<'de> for NewPathRequestTlsOptions
impl<'de> Deserialize<'de> for NewPathRequestTlsOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for NewPathRequestTlsOptions
impl Hash for NewPathRequestTlsOptions
source§impl PartialEq for NewPathRequestTlsOptions
impl PartialEq for NewPathRequestTlsOptions
source§impl Serialize for NewPathRequestTlsOptions
impl Serialize for NewPathRequestTlsOptions
impl Eq for NewPathRequestTlsOptions
impl StructuralPartialEq for NewPathRequestTlsOptions
Auto Trait Implementations§
impl Freeze for NewPathRequestTlsOptions
impl RefUnwindSafe for NewPathRequestTlsOptions
impl Send for NewPathRequestTlsOptions
impl Sync for NewPathRequestTlsOptions
impl Unpin for NewPathRequestTlsOptions
impl UnwindSafe for NewPathRequestTlsOptions
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request