pub struct AppsCreateRollbackBody {
pub deployment_id: Option<String>,
pub skip_pin: Option<bool>,
}Expand description
AppsCreateRollbackBody
JSON schema
{
"type": "object",
"properties": {
"deployment_id": {
"description": "The ID of the deployment to rollback to.",
"examples": [
"3aa4d20e-5527-4c00-b496-601fbd22520a"
],
"type": "string"
},
"skip_pin": {
"description": "Whether to skip pinning the rollback deployment. If false, the rollback deployment will be pinned and any new deployments including Auto Deploy on Push hooks will be disabled until the rollback is either manually committed or reverted via the CommitAppRollback or RevertAppRollback endpoints respectively. If true, the rollback will be immediately committed and the app will remain unpinned.",
"examples": [
false
],
"type": "boolean"
}
}
}Fields§
§deployment_id: Option<String>The ID of the deployment to rollback to.
skip_pin: Option<bool>Whether to skip pinning the rollback deployment. If false, the rollback deployment will be pinned and any new deployments including Auto Deploy on Push hooks will be disabled until the rollback is either manually committed or reverted via the CommitAppRollback or RevertAppRollback endpoints respectively. If true, the rollback will be immediately committed and the app will remain unpinned.
Trait Implementations§
Source§impl Clone for AppsCreateRollbackBody
impl Clone for AppsCreateRollbackBody
Source§fn clone(&self) -> AppsCreateRollbackBody
fn clone(&self) -> AppsCreateRollbackBody
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 AppsCreateRollbackBody
impl Debug for AppsCreateRollbackBody
Source§impl Default for AppsCreateRollbackBody
impl Default for AppsCreateRollbackBody
Source§impl<'de> Deserialize<'de> for AppsCreateRollbackBody
impl<'de> Deserialize<'de> for AppsCreateRollbackBody
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 From<&AppsCreateRollbackBody> for AppsCreateRollbackBody
impl From<&AppsCreateRollbackBody> for AppsCreateRollbackBody
Source§fn from(value: &AppsCreateRollbackBody) -> Self
fn from(value: &AppsCreateRollbackBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AppsCreateRollbackBody
impl RefUnwindSafe for AppsCreateRollbackBody
impl Send for AppsCreateRollbackBody
impl Sync for AppsCreateRollbackBody
impl Unpin for AppsCreateRollbackBody
impl UnsafeUnpin for AppsCreateRollbackBody
impl UnwindSafe for AppsCreateRollbackBody
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