pub struct BootstrapSecret {
pub host: String,
pub quic_port: u16,
pub tcp_port: u16,
pub token: Token,
pub cert: Vec<u8>,
}Fields§
§host: String§quic_port: u16§tcp_port: u16§token: Token§cert: Vec<u8>Implementations§
Trait Implementations§
Source§impl Debug for BootstrapSecret
impl Debug for BootstrapSecret
Source§impl<'de> Deserialize<'de> for BootstrapSecret
impl<'de> Deserialize<'de> for BootstrapSecret
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 BootstrapSecret
impl RefUnwindSafe for BootstrapSecret
impl Send for BootstrapSecret
impl Sync for BootstrapSecret
impl Unpin for BootstrapSecret
impl UnwindSafe for BootstrapSecret
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