pub struct GroupSecrets {
pub joiner_secret: SensitiveBytes,
pub path_secret: Option<PathSecret>,
pub psks: Vec<PreSharedKeyId>,
}
Fields§
§joiner_secret: SensitiveBytes
§path_secret: Option<PathSecret>
§psks: Vec<PreSharedKeyId>
Trait Implementations§
Source§impl Clone for GroupSecrets
impl Clone for GroupSecrets
Source§fn clone(&self) -> GroupSecrets
fn clone(&self) -> GroupSecrets
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GroupSecrets
impl Debug for GroupSecrets
Source§impl<'de> Deserialize<'de> for GroupSecrets
impl<'de> Deserialize<'de> for GroupSecrets
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 Deserialize for GroupSecrets
impl Deserialize for GroupSecrets
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl PartialEq for GroupSecrets
impl PartialEq for GroupSecrets
Source§impl Serialize for &GroupSecrets
impl Serialize for &GroupSecrets
Source§impl Serialize for GroupSecrets
impl Serialize for GroupSecrets
Source§impl Serialize for GroupSecrets
impl Serialize for GroupSecrets
Source§impl Size for &GroupSecrets
impl Size for &GroupSecrets
fn tls_serialized_len(&self) -> usize
Source§impl Size for GroupSecrets
impl Size for GroupSecrets
fn tls_serialized_len(&self) -> usize
impl Eq for GroupSecrets
impl StructuralPartialEq for GroupSecrets
Auto Trait Implementations§
impl Freeze for GroupSecrets
impl RefUnwindSafe for GroupSecrets
impl Send for GroupSecrets
impl Sync for GroupSecrets
impl Unpin for GroupSecrets
impl UnwindSafe for GroupSecrets
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