pub struct DocumentReason {
pub code: AttrV<DocumentReasonCode>,
pub text: Option<String>,
}Expand description
Root-level reason attached to an ActivationDocument.
Fields§
§code: AttrV<DocumentReasonCode>Document-level reason code.
text: Option<String>Optional free-text description.
Trait Implementations§
Source§impl Clone for DocumentReason
impl Clone for DocumentReason
Source§fn clone(&self) -> DocumentReason
fn clone(&self) -> DocumentReason
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 DocumentReason
impl Debug for DocumentReason
Source§impl<'de> Deserialize<'de> for DocumentReason
impl<'de> Deserialize<'de> for DocumentReason
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 PartialEq for DocumentReason
impl PartialEq for DocumentReason
Source§fn eq(&self, other: &DocumentReason) -> bool
fn eq(&self, other: &DocumentReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DocumentReason
impl Serialize for DocumentReason
impl StructuralPartialEq for DocumentReason
Auto Trait Implementations§
impl Freeze for DocumentReason
impl RefUnwindSafe for DocumentReason
impl Send for DocumentReason
impl Sync for DocumentReason
impl Unpin for DocumentReason
impl UnsafeUnpin for DocumentReason
impl UnwindSafe for DocumentReason
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