pub struct DeploymentRoutingResponse {
pub channel: String,
pub deployment_id: String,
pub pinned_release_id: Option<String>,
pub release_id: Option<String>,
}Expand description
What a deployment follows and the release that makes it run.
JSON schema
{
"description": "What a deployment follows and the release that makes it run.",
"type": "object",
"required": [
"channel",
"deploymentId"
],
"properties": {
"channel": {
"type": "string"
},
"deploymentId": {
"type": "string"
},
"pinnedReleaseId": {
"type": [
"string",
"null"
]
},
"releaseId": {
"description": "The release the deployment is sent: the pin, else the channel's release.",
"type": [
"string",
"null"
]
}
}
}Fields§
§channel: String§deployment_id: String§pinned_release_id: Option<String>§release_id: Option<String>The release the deployment is sent: the pin, else the channel’s release.
Implementations§
Source§impl DeploymentRoutingResponse
impl DeploymentRoutingResponse
pub fn builder() -> DeploymentRoutingResponse
Trait Implementations§
Source§impl Clone for DeploymentRoutingResponse
impl Clone for DeploymentRoutingResponse
Source§impl Debug for DeploymentRoutingResponse
impl Debug for DeploymentRoutingResponse
Source§impl<'de> Deserialize<'de> for DeploymentRoutingResponse
impl<'de> Deserialize<'de> for DeploymentRoutingResponse
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<&DeploymentRoutingResponse> for DeploymentRoutingResponse
impl From<&DeploymentRoutingResponse> for DeploymentRoutingResponse
Source§fn from(value: &DeploymentRoutingResponse) -> Self
fn from(value: &DeploymentRoutingResponse) -> Self
Converts to this type from the input type.
Source§impl From<DeploymentRoutingResponse> for DeploymentRoutingResponse
impl From<DeploymentRoutingResponse> for DeploymentRoutingResponse
Source§fn from(value: DeploymentRoutingResponse) -> Self
fn from(value: DeploymentRoutingResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DeploymentRoutingResponse> for DeploymentRoutingResponse
impl TryFrom<DeploymentRoutingResponse> for DeploymentRoutingResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DeploymentRoutingResponse) -> Result<Self, ConversionError>
fn try_from(value: DeploymentRoutingResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DeploymentRoutingResponse
impl RefUnwindSafe for DeploymentRoutingResponse
impl Send for DeploymentRoutingResponse
impl Sync for DeploymentRoutingResponse
impl Unpin for DeploymentRoutingResponse
impl UnsafeUnpin for DeploymentRoutingResponse
impl UnwindSafe for DeploymentRoutingResponse
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