pub struct TransitionIn {
pub doctype: Option<String>,
pub name: Option<String>,
pub schedule_at: Option<String>,
pub to: Option<String>,
}Fields§
§doctype: Option<String>DocType is the content type to act on, from the path.
name: Option<String>Name is the document to act on, from the path.
schedule_at: Option<String>ScheduleAt is an ISO-8601 go-live time handed to the channel’s own scheduler; "" distributes now.
to: Option<String>To is the lifecycle state to move to. Required, and the move must be a legal edge from the item’s current state.
Implementations§
Source§impl TransitionIn
impl TransitionIn
pub fn new() -> TransitionIn
Trait Implementations§
Source§impl Clone for TransitionIn
impl Clone for TransitionIn
Source§fn clone(&self) -> TransitionIn
fn clone(&self) -> TransitionIn
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 TransitionIn
impl Debug for TransitionIn
Source§impl Default for TransitionIn
impl Default for TransitionIn
Source§fn default() -> TransitionIn
fn default() -> TransitionIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransitionIn
impl<'de> Deserialize<'de> for TransitionIn
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 TransitionIn
impl PartialEq for TransitionIn
Source§impl Serialize for TransitionIn
impl Serialize for TransitionIn
impl StructuralPartialEq for TransitionIn
Auto Trait Implementations§
impl Freeze for TransitionIn
impl RefUnwindSafe for TransitionIn
impl Send for TransitionIn
impl Sync for TransitionIn
impl Unpin for TransitionIn
impl UnsafeUnpin for TransitionIn
impl UnwindSafe for TransitionIn
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