Struct grpcio_proto::testing::control::SecurityParams[][src]

pub struct SecurityParams {
    pub use_test_ca: bool,
    pub server_host_override: String,
    pub cred_type: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

use_test_ca: boolserver_host_override: Stringcred_type: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SecurityParams[src]

pub fn new() -> SecurityParams[src]

pub fn get_use_test_ca(&self) -> bool[src]

pub fn clear_use_test_ca(&mut self)[src]

pub fn set_use_test_ca(&mut self, v: bool)[src]

pub fn get_server_host_override(&self) -> &str[src]

pub fn clear_server_host_override(&mut self)[src]

pub fn set_server_host_override(&mut self, v: String)[src]

pub fn mut_server_host_override(&mut self) -> &mut String[src]

pub fn take_server_host_override(&mut self) -> String[src]

pub fn get_cred_type(&self) -> &str[src]

pub fn clear_cred_type(&mut self)[src]

pub fn set_cred_type(&mut self, v: String)[src]

pub fn mut_cred_type(&mut self) -> &mut String[src]

pub fn take_cred_type(&mut self) -> String[src]

Trait Implementations

impl Clear for SecurityParams[src]

impl Clone for SecurityParams[src]

impl Debug for SecurityParams[src]

impl Default for SecurityParams[src]

impl<'a> Default for &'a SecurityParams[src]

impl Message for SecurityParams[src]

impl PartialEq<SecurityParams> for SecurityParams[src]

impl ProtobufValue for SecurityParams[src]

impl StructuralPartialEq for SecurityParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.