pub struct SetDeploymentChannelRequest {
pub channel: String,
}Expand description
Body of PUT /v1/deployments/{id}/channel.
JSON schema
{
"description": "Body of `PUT /v1/deployments/{id}/channel`.",
"type": "object",
"required": [
"channel"
],
"properties": {
"channel": {
"type": "string"
}
}
}Fields§
§channel: StringImplementations§
Trait Implementations§
Source§impl Clone for SetDeploymentChannelRequest
impl Clone for SetDeploymentChannelRequest
Source§impl Debug for SetDeploymentChannelRequest
impl Debug for SetDeploymentChannelRequest
Source§impl<'de> Deserialize<'de> for SetDeploymentChannelRequest
impl<'de> Deserialize<'de> for SetDeploymentChannelRequest
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<&SetDeploymentChannelRequest> for SetDeploymentChannelRequest
impl From<&SetDeploymentChannelRequest> for SetDeploymentChannelRequest
Source§fn from(value: &SetDeploymentChannelRequest) -> Self
fn from(value: &SetDeploymentChannelRequest) -> Self
Converts to this type from the input type.
Source§impl From<SetDeploymentChannelRequest> for SetDeploymentChannelRequest
impl From<SetDeploymentChannelRequest> for SetDeploymentChannelRequest
Source§fn from(value: SetDeploymentChannelRequest) -> Self
fn from(value: SetDeploymentChannelRequest) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SetDeploymentChannelRequest> for SetDeploymentChannelRequest
impl TryFrom<SetDeploymentChannelRequest> for SetDeploymentChannelRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SetDeploymentChannelRequest) -> Result<Self, ConversionError>
fn try_from(value: SetDeploymentChannelRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SetDeploymentChannelRequest
impl RefUnwindSafe for SetDeploymentChannelRequest
impl Send for SetDeploymentChannelRequest
impl Sync for SetDeploymentChannelRequest
impl Unpin for SetDeploymentChannelRequest
impl UnsafeUnpin for SetDeploymentChannelRequest
impl UnwindSafe for SetDeploymentChannelRequest
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