pub struct PublishFlowBody {
pub flow: Box<PublishFlowInner>,
pub apps: Vec<String>,
pub path: Option<String>,
pub source_path: Option<String>,
pub project_slug: String,
}Fields§
§flow: Box<PublishFlowInner>§apps: Vec<String>§path: Option<String>§source_path: Option<String>§project_slug: Stringhub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
Implementations§
Source§impl PublishFlowBody
impl PublishFlowBody
pub fn new( flow: PublishFlowInner, apps: Vec<String>, project_slug: String, ) -> PublishFlowBody
Trait Implementations§
Source§impl Clone for PublishFlowBody
impl Clone for PublishFlowBody
Source§fn clone(&self) -> PublishFlowBody
fn clone(&self) -> PublishFlowBody
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 PublishFlowBody
impl Debug for PublishFlowBody
Source§impl Default for PublishFlowBody
impl Default for PublishFlowBody
Source§fn default() -> PublishFlowBody
fn default() -> PublishFlowBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublishFlowBody
impl<'de> Deserialize<'de> for PublishFlowBody
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 PublishFlowBody
impl PartialEq for PublishFlowBody
Source§impl Serialize for PublishFlowBody
impl Serialize for PublishFlowBody
impl StructuralPartialEq for PublishFlowBody
Auto Trait Implementations§
impl Freeze for PublishFlowBody
impl RefUnwindSafe for PublishFlowBody
impl Send for PublishFlowBody
impl Sync for PublishFlowBody
impl Unpin for PublishFlowBody
impl UnsafeUnpin for PublishFlowBody
impl UnwindSafe for PublishFlowBody
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