pub struct NegativeDeclaration {
pub declaration_id: DeclarationId,
pub identity: IdentityId,
pub cannot_do: Vec<String>,
pub reason: String,
pub declared_at: u64,
pub permanent: bool,
pub witnesses: Vec<WitnessSignature>,
pub signature: String,
}Expand description
Voluntary negative capability declaration — self-imposed restriction.
Fields§
§declaration_id: DeclarationId§identity: IdentityId§cannot_do: Vec<String>§reason: String§declared_at: u64§permanent: bool§witnesses: Vec<WitnessSignature>§signature: StringTrait Implementations§
Source§impl Clone for NegativeDeclaration
impl Clone for NegativeDeclaration
Source§fn clone(&self) -> NegativeDeclaration
fn clone(&self) -> NegativeDeclaration
Returns a duplicate of the value. Read more
1.0.0 · 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 NegativeDeclaration
impl Debug for NegativeDeclaration
Source§impl<'de> Deserialize<'de> for NegativeDeclaration
impl<'de> Deserialize<'de> for NegativeDeclaration
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 NegativeDeclaration
impl RefUnwindSafe for NegativeDeclaration
impl Send for NegativeDeclaration
impl Sync for NegativeDeclaration
impl Unpin for NegativeDeclaration
impl UnsafeUnpin for NegativeDeclaration
impl UnwindSafe for NegativeDeclaration
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