pub struct CreateVersionIn {
pub display_name: Option<String>,
pub id: Option<String>,
pub trigger: Option<Box<FlowTrigger>>,
}Fields§
§display_name: Option<String>DisplayName names the new version.
id: Option<String>ID is the flow to add a version to, from the path.
trigger: Option<Box<FlowTrigger>>Trigger is the root of the version’s step tree. Optional: a version with no trigger is created invalid, and cannot run until one is set.
Implementations§
Source§impl CreateVersionIn
impl CreateVersionIn
pub fn new() -> CreateVersionIn
Trait Implementations§
Source§impl Clone for CreateVersionIn
impl Clone for CreateVersionIn
Source§fn clone(&self) -> CreateVersionIn
fn clone(&self) -> CreateVersionIn
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 CreateVersionIn
impl Debug for CreateVersionIn
Source§impl Default for CreateVersionIn
impl Default for CreateVersionIn
Source§fn default() -> CreateVersionIn
fn default() -> CreateVersionIn
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateVersionIn
impl<'de> Deserialize<'de> for CreateVersionIn
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 CreateVersionIn
impl PartialEq for CreateVersionIn
Source§impl Serialize for CreateVersionIn
impl Serialize for CreateVersionIn
impl StructuralPartialEq for CreateVersionIn
Auto Trait Implementations§
impl Freeze for CreateVersionIn
impl RefUnwindSafe for CreateVersionIn
impl Send for CreateVersionIn
impl Sync for CreateVersionIn
impl Unpin for CreateVersionIn
impl UnsafeUnpin for CreateVersionIn
impl UnwindSafe for CreateVersionIn
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