pub struct CreateDeploymentResponse {
pub deployment: DeploymentResponse,
pub token: Option<String>,
}Expand description
CreateDeploymentResponse
JSON schema
{
"type": "object",
"required": [
"deployment"
],
"properties": {
"deployment": {
"$ref": "#/components/schemas/DeploymentResponse"
},
"token": {
"type": [
"string",
"null"
]
}
}
}Fields§
§deployment: DeploymentResponse§token: Option<String>Implementations§
Source§impl CreateDeploymentResponse
impl CreateDeploymentResponse
pub fn builder() -> CreateDeploymentResponse
Trait Implementations§
Source§impl Clone for CreateDeploymentResponse
impl Clone for CreateDeploymentResponse
Source§fn clone(&self) -> CreateDeploymentResponse
fn clone(&self) -> CreateDeploymentResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateDeploymentResponse
impl Debug for CreateDeploymentResponse
Source§impl<'de> Deserialize<'de> for CreateDeploymentResponse
impl<'de> Deserialize<'de> for CreateDeploymentResponse
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<&CreateDeploymentResponse> for CreateDeploymentResponse
impl From<&CreateDeploymentResponse> for CreateDeploymentResponse
Source§fn from(value: &CreateDeploymentResponse) -> Self
fn from(value: &CreateDeploymentResponse) -> Self
Converts to this type from the input type.
Source§impl From<CreateDeploymentResponse> for CreateDeploymentResponse
impl From<CreateDeploymentResponse> for CreateDeploymentResponse
Source§fn from(value: CreateDeploymentResponse) -> Self
fn from(value: CreateDeploymentResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for CreateDeploymentResponse
impl Serialize for CreateDeploymentResponse
Source§impl TryFrom<CreateDeploymentResponse> for CreateDeploymentResponse
impl TryFrom<CreateDeploymentResponse> for CreateDeploymentResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CreateDeploymentResponse) -> Result<Self, ConversionError>
fn try_from(value: CreateDeploymentResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateDeploymentResponse
impl RefUnwindSafe for CreateDeploymentResponse
impl Send for CreateDeploymentResponse
impl Sync for CreateDeploymentResponse
impl Unpin for CreateDeploymentResponse
impl UnsafeUnpin for CreateDeploymentResponse
impl UnwindSafe for CreateDeploymentResponse
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