Struct custodian_password::ServerConfig [−][src]
pub struct ServerConfig { /* fields omitted */ }Expand description
Server configuration. This contains the secret key needed to create and use
ServerFiles, if it is lost, all corresponding ServerFiles become
unusable.
Implementations
Create a new ServerConfig. This contains the secret key needed to
create and use ServerFiles, if it is lost, all corresponding
ServerFiles become unusable.
Returns the Config associated with this ServerConfig.
Returns the PublicKey associated with this ServerConfig.
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ServerConfig
impl Send for ServerConfig
impl Sync for ServerConfig
impl Unpin for ServerConfig
impl UnwindSafe for ServerConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
