pub struct StateEvent {
pub schema: String,
pub id: String,
pub kind: EventKind,
pub target: StateTarget,
pub actor: StateActor,
pub timestamp: String,
pub reason: String,
pub before_hash: String,
pub after_hash: String,
pub payload: Value,
pub caveats: Vec<String>,
pub signature: Option<String>,
}Fields§
§schema: String§id: String§kind: EventKind§target: StateTarget§actor: StateActor§timestamp: String§reason: String§before_hash: String§after_hash: String§payload: Value§caveats: Vec<String>§signature: Option<String>Trait Implementations§
Source§impl Clone for StateEvent
impl Clone for StateEvent
Source§impl Debug for StateEvent
impl Debug for StateEvent
Source§impl<'de> Deserialize<'de> for StateEvent
impl<'de> Deserialize<'de> for StateEvent
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 Forget for StateEvent
impl Freeze for StateEventwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<String>: Freeze,
impl Move for StateEvent
impl RefUnwindSafe for StateEvent
impl Send for StateEvent
impl Sync for StateEvent
impl Unpin for StateEvent
impl UnsafeUnpin for StateEventwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for StateEvent
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