pub struct PeerCredential {
pub key_id: String,
pub secret: SecretBytes,
}Expand description
Key identity and secret material used for one peer.
Fields§
§key_id: StringRotation-aware key identity.
secret: SecretBytesAuthentication secret bytes.
Trait Implementations§
Source§impl Clone for PeerCredential
impl Clone for PeerCredential
Source§fn clone(&self) -> PeerCredential
fn clone(&self) -> PeerCredential
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PeerCredential
impl Debug for PeerCredential
impl Eq for PeerCredential
Source§impl PartialEq for PeerCredential
impl PartialEq for PeerCredential
impl StructuralPartialEq for PeerCredential
Auto Trait Implementations§
impl Freeze for PeerCredential
impl RefUnwindSafe for PeerCredential
impl Send for PeerCredential
impl Sync for PeerCredential
impl Unpin for PeerCredential
impl UnsafeUnpin for PeerCredential
impl UnwindSafe for PeerCredential
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