pub struct StateAttachment {
pub state_id: StateId,
pub body: StateAttachmentBody,
pub attribution: Attribution,
pub created_at: DateTime<Utc>,
pub supersedes: Option<StateAttachmentId>,
}Fields§
§state_id: StateId§body: StateAttachmentBody§attribution: Attribution§created_at: DateTime<Utc>§supersedes: Option<StateAttachmentId>Implementations§
Source§impl StateAttachment
impl StateAttachment
pub fn id(&self) -> StateAttachmentId
Trait Implementations§
Source§impl Clone for StateAttachment
impl Clone for StateAttachment
Source§fn clone(&self) -> StateAttachment
fn clone(&self) -> StateAttachment
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 StateAttachment
impl Debug for StateAttachment
Source§impl<'de> Deserialize<'de> for StateAttachment
impl<'de> Deserialize<'de> for StateAttachment
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 StateAttachment
impl PartialEq for StateAttachment
Source§impl Serialize for StateAttachment
impl Serialize for StateAttachment
impl StructuralPartialEq for StateAttachment
Auto Trait Implementations§
impl Freeze for StateAttachment
impl RefUnwindSafe for StateAttachment
impl Send for StateAttachment
impl Sync for StateAttachment
impl Unpin for StateAttachment
impl UnsafeUnpin for StateAttachment
impl UnwindSafe for StateAttachment
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