pub struct ReleaseChannelResponse {
pub current_release_id: Option<String>,
pub deployments: i64,
pub name: String,
pub updated_at: DateTime<Utc>,
}Expand description
A release channel.
JSON schema
{
"description": "A release channel.",
"type": "object",
"required": [
"deployments",
"name",
"updatedAt"
],
"properties": {
"currentReleaseId": {
"description": "Release the channel points at; absent until one is published or promoted to it.",
"type": [
"string",
"null"
]
},
"deployments": {
"description": "Deployments following the channel, pinned or not.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"name": {
"type": "string"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
}
}Fields§
§current_release_id: Option<String>Release the channel points at; absent until one is published or promoted to it.
deployments: i64Deployments following the channel, pinned or not.
name: String§updated_at: DateTime<Utc>Implementations§
Source§impl ReleaseChannelResponse
impl ReleaseChannelResponse
pub fn builder() -> ReleaseChannelResponse
Trait Implementations§
Source§impl Clone for ReleaseChannelResponse
impl Clone for ReleaseChannelResponse
Source§impl Debug for ReleaseChannelResponse
impl Debug for ReleaseChannelResponse
Source§impl<'de> Deserialize<'de> for ReleaseChannelResponse
impl<'de> Deserialize<'de> for ReleaseChannelResponse
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<&ReleaseChannelResponse> for ReleaseChannelResponse
impl From<&ReleaseChannelResponse> for ReleaseChannelResponse
Source§fn from(value: &ReleaseChannelResponse) -> Self
fn from(value: &ReleaseChannelResponse) -> Self
Converts to this type from the input type.
Source§impl From<ReleaseChannelResponse> for ReleaseChannelResponse
impl From<ReleaseChannelResponse> for ReleaseChannelResponse
Source§fn from(value: ReleaseChannelResponse) -> Self
fn from(value: ReleaseChannelResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for ReleaseChannelResponse
impl Serialize for ReleaseChannelResponse
Source§impl TryFrom<ReleaseChannelResponse> for ReleaseChannelResponse
impl TryFrom<ReleaseChannelResponse> for ReleaseChannelResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ReleaseChannelResponse) -> Result<Self, ConversionError>
fn try_from(value: ReleaseChannelResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ReleaseChannelResponse
impl Freeze for ReleaseChannelResponse
impl Move for ReleaseChannelResponse
impl RefUnwindSafe for ReleaseChannelResponse
impl Send for ReleaseChannelResponse
impl Sync for ReleaseChannelResponse
impl Unpin for ReleaseChannelResponse
impl UnsafeUnpin for ReleaseChannelResponse
impl UnwindSafe for ReleaseChannelResponse
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