pub struct StackImportResponse {
pub deployment_id: String,
pub deployment_token: Option<String>,
pub stack_settings: StackSettings,
pub stack_state: StackState,
}Expand description
Response body returned after a stack import.
JSON schema
{
"description": "Response body returned after a stack import.",
"type": "object",
"required": [
"deploymentId",
"stackSettings",
"stackState"
],
"properties": {
"deploymentId": {
"description": "Deployment created.",
"type": "string"
},
"deploymentToken": {
"description": "Deployment bearer token for the imported deployment, when available.",
"type": [
"string",
"null"
]
},
"stackSettings": {
"$ref": "#/components/schemas/StackSettings"
},
"stackState": {
"$ref": "#/components/schemas/StackState"
}
}
}Fields§
§deployment_id: StringDeployment created.
deployment_token: Option<String>Deployment bearer token for the imported deployment, when available.
stack_settings: StackSettings§stack_state: StackStateImplementations§
Source§impl StackImportResponse
impl StackImportResponse
pub fn builder() -> StackImportResponse
Trait Implementations§
Source§impl Clone for StackImportResponse
impl Clone for StackImportResponse
Source§fn clone(&self) -> StackImportResponse
fn clone(&self) -> StackImportResponse
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 StackImportResponse
impl Debug for StackImportResponse
Source§impl<'de> Deserialize<'de> for StackImportResponse
impl<'de> Deserialize<'de> for StackImportResponse
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<&StackImportResponse> for StackImportResponse
impl From<&StackImportResponse> for StackImportResponse
Source§fn from(value: &StackImportResponse) -> Self
fn from(value: &StackImportResponse) -> Self
Converts to this type from the input type.
Source§impl From<StackImportResponse> for StackImportResponse
impl From<StackImportResponse> for StackImportResponse
Source§fn from(value: StackImportResponse) -> Self
fn from(value: StackImportResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for StackImportResponse
impl Serialize for StackImportResponse
Source§impl TryFrom<StackImportResponse> for StackImportResponse
impl TryFrom<StackImportResponse> for StackImportResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: StackImportResponse) -> Result<Self, ConversionError>
fn try_from(value: StackImportResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for StackImportResponse
impl RefUnwindSafe for StackImportResponse
impl Send for StackImportResponse
impl Sync for StackImportResponse
impl Unpin for StackImportResponse
impl UnsafeUnpin for StackImportResponse
impl UnwindSafe for StackImportResponse
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