pub struct StateTransitionPreview {
pub atom_id: String,
pub current_state: Option<AtomState>,
pub target_state: AtomState,
pub allowed: bool,
pub code: String,
pub message: String,
pub reason_required: bool,
}Fields§
§atom_id: String§current_state: Option<AtomState>§target_state: AtomState§allowed: bool§code: String§message: String§reason_required: boolTrait Implementations§
Source§impl Clone for StateTransitionPreview
impl Clone for StateTransitionPreview
Source§fn clone(&self) -> StateTransitionPreview
fn clone(&self) -> StateTransitionPreview
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 StateTransitionPreview
impl Debug for StateTransitionPreview
Source§impl<'de> Deserialize<'de> for StateTransitionPreview
impl<'de> Deserialize<'de> for StateTransitionPreview
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 StateTransitionPreview
impl RefUnwindSafe for StateTransitionPreview
impl Send for StateTransitionPreview
impl Sync for StateTransitionPreview
impl Unpin for StateTransitionPreview
impl UnsafeUnpin for StateTransitionPreview
impl UnwindSafe for StateTransitionPreview
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