pub struct WireKeyBinding {
pub algorithm: String,
pub public_key: String,
pub identity_ref: String,
pub role: String,
pub added_by_sig: StateSignature,
pub valid_from: DateTime<Utc>,
pub delegated_from: Option<ContentHash>,
pub liveness: WireKeyBindingLiveness,
}Expand description
Transport form of a KeyBinding.
Fields§
§algorithm: String§public_key: String§identity_ref: String§role: String§added_by_sig: StateSignature§valid_from: DateTime<Utc>§delegated_from: Option<ContentHash>§liveness: WireKeyBindingLivenessTrait Implementations§
Source§impl Clone for WireKeyBinding
impl Clone for WireKeyBinding
Source§fn clone(&self) -> WireKeyBinding
fn clone(&self) -> WireKeyBinding
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 WireKeyBinding
impl Debug for WireKeyBinding
Source§impl<'de> Deserialize<'de> for WireKeyBinding
impl<'de> Deserialize<'de> for WireKeyBinding
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
impl Eq for WireKeyBinding
Source§impl From<&KeyBinding> for WireKeyBinding
impl From<&KeyBinding> for WireKeyBinding
Source§fn from(binding: &KeyBinding) -> Self
fn from(binding: &KeyBinding) -> Self
Converts to this type from the input type.
Source§impl From<WireKeyBinding> for KeyBinding
impl From<WireKeyBinding> for KeyBinding
Source§fn from(binding: WireKeyBinding) -> Self
fn from(binding: WireKeyBinding) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireKeyBinding
impl PartialEq for WireKeyBinding
Source§impl Serialize for WireKeyBinding
impl Serialize for WireKeyBinding
impl StructuralPartialEq for WireKeyBinding
Auto Trait Implementations§
impl Freeze for WireKeyBinding
impl RefUnwindSafe for WireKeyBinding
impl Send for WireKeyBinding
impl Sync for WireKeyBinding
impl Unpin for WireKeyBinding
impl UnsafeUnpin for WireKeyBinding
impl UnwindSafe for WireKeyBinding
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