pub struct ChannelView {
pub id: Uuid,
pub app_id: Uuid,
pub name: String,
pub is_default: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
A channel resource under an app. A channel is a named pointer; the release
it currently serves is tracked separately (see channel_release) and
exposed via GET /apps/:slug/channels/:name/release.
Fields§
§id: Uuid§app_id: Uuid§name: String§is_default: bool§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for ChannelView
impl Clone for ChannelView
Source§fn clone(&self) -> ChannelView
fn clone(&self) -> ChannelView
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 ComposeSchema for ChannelView
impl ComposeSchema for ChannelView
Source§impl Debug for ChannelView
impl Debug for ChannelView
Source§impl<'de> Deserialize<'de> for ChannelView
impl<'de> Deserialize<'de> for ChannelView
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
impl Eq for ChannelView
Source§impl PartialEq for ChannelView
impl PartialEq for ChannelView
Source§fn eq(&self, other: &ChannelView) -> bool
fn eq(&self, other: &ChannelView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChannelView
impl Serialize for ChannelView
impl StructuralPartialEq for ChannelView
Auto Trait Implementations§
impl Freeze for ChannelView
impl RefUnwindSafe for ChannelView
impl Send for ChannelView
impl Sync for ChannelView
impl Unpin for ChannelView
impl UnsafeUnpin for ChannelView
impl UnwindSafe for ChannelView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.