pub struct ActivityStateTransition {
pub object_type_id: String,
pub from_state: Option<String>,
pub to_state: String,
}Expand description
State transition triggered by an activity.
Fields§
§object_type_id: StringObject type ID affected
from_state: Option<String>From state (None = any state, including initial)
to_state: StringTo state
Implementations§
Trait Implementations§
Source§impl Clone for ActivityStateTransition
impl Clone for ActivityStateTransition
Source§fn clone(&self) -> ActivityStateTransition
fn clone(&self) -> ActivityStateTransition
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 ActivityStateTransition
impl Debug for ActivityStateTransition
Source§impl<'de> Deserialize<'de> for ActivityStateTransition
impl<'de> Deserialize<'de> for ActivityStateTransition
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 ActivityStateTransition
impl RefUnwindSafe for ActivityStateTransition
impl Send for ActivityStateTransition
impl Sync for ActivityStateTransition
impl Unpin for ActivityStateTransition
impl UnwindSafe for ActivityStateTransition
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