pub struct Connect {
pub host: String,
pub port: u16,
pub protocol: Protocol,
pub cryptography: Option<CryptographicAlgorithm>,
pub sign: Option<SigningAlgorithm>,
}Fields§
§host: String§port: u16§protocol: Protocol§cryptography: Option<CryptographicAlgorithm>§sign: Option<SigningAlgorithm>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Connect
impl<'de> Deserialize<'de> for Connect
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
Auto Trait Implementations§
impl Freeze for Connect
impl RefUnwindSafe for Connect
impl Send for Connect
impl Sync for Connect
impl Unpin for Connect
impl UnwindSafe for Connect
Blanket Implementations§
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