pub struct CreateAppRawSourceRequest {
pub path: String,
pub summary: String,
pub value: Box<CreateAppRawSourceRequestValue>,
pub policy: Box<Policy>,
pub deployment_message: Option<String>,
pub custom_path: Option<String>,
pub preserve_on_behalf_of: Option<bool>,
pub labels: Option<Vec<String>>,
pub skip_draft_deletion: Option<bool>,
}Fields§
§path: String§summary: String§value: Box<CreateAppRawSourceRequestValue>§policy: Box<Policy>§deployment_message: Option<String>§custom_path: Option<String>§preserve_on_behalf_of: Option<bool>When true and the caller is a member of the ‘wm_deployers’ group, preserves the original on_behalf_of value in the policy instead of overwriting it.
labels: Option<Vec<String>>§skip_draft_deletion: Option<bool>When true (set by the CLI / git sync), deploying this app does not delete an existing user draft at the same path.
Implementations§
Source§impl CreateAppRawSourceRequest
impl CreateAppRawSourceRequest
pub fn new( path: String, summary: String, value: CreateAppRawSourceRequestValue, policy: Policy, ) -> CreateAppRawSourceRequest
Trait Implementations§
Source§impl Clone for CreateAppRawSourceRequest
impl Clone for CreateAppRawSourceRequest
Source§impl Debug for CreateAppRawSourceRequest
impl Debug for CreateAppRawSourceRequest
Source§impl Default for CreateAppRawSourceRequest
impl Default for CreateAppRawSourceRequest
Source§impl<'de> Deserialize<'de> for CreateAppRawSourceRequest
impl<'de> Deserialize<'de> for CreateAppRawSourceRequest
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
impl StructuralPartialEq for CreateAppRawSourceRequest
Auto Trait Implementations§
impl Forget for CreateAppRawSourceRequest
impl Freeze for CreateAppRawSourceRequestwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const CreateAppRawSourceRequestValue is !null: Freeze,
PhantomData<CreateAppRawSourceRequestValue>: Freeze,
*const Policy is !null: Freeze,
PhantomData<Policy>: Freeze,
PhantomData<String>: Freeze,
impl Move for CreateAppRawSourceRequest
impl RefUnwindSafe for CreateAppRawSourceRequest
impl Send for CreateAppRawSourceRequest
impl Sync for CreateAppRawSourceRequest
impl Unpin for CreateAppRawSourceRequest
impl UnsafeUnpin for CreateAppRawSourceRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const CreateAppRawSourceRequestValue is !null: UnsafeUnpin,
PhantomData<CreateAppRawSourceRequestValue>: UnsafeUnpin,
*const Policy is !null: UnsafeUnpin,
PhantomData<Policy>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for CreateAppRawSourceRequestwhere
RawVecInner: UnwindSafe,
BoxRaw<CreateAppRawSourceRequestValue>: UnwindSafe,
BoxRaw<Policy>: UnwindSafe,
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