pub enum ChannelSource {
GitHubGlobal,
Hub {
hub_name: String,
channel_name: String,
},
Url {
url: String,
},
Anonymous {
url: String,
imported_at: String,
},
}Expand description
Source of a channel
Variants§
GitHubGlobal
GitHub global (no specific source, searches all GitHub)
Hub
From a Hub
Url
Direct URL
Anonymous
Anonymous (imported directly without registration)
Implementations§
Trait Implementations§
Source§impl Clone for ChannelSource
impl Clone for ChannelSource
Source§fn clone(&self) -> ChannelSource
fn clone(&self) -> ChannelSource
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 ChannelSource
impl Debug for ChannelSource
Source§impl<'de> Deserialize<'de> for ChannelSource
impl<'de> Deserialize<'de> for ChannelSource
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
Auto Trait Implementations§
impl Freeze for ChannelSource
impl RefUnwindSafe for ChannelSource
impl Send for ChannelSource
impl Sync for ChannelSource
impl Unpin for ChannelSource
impl UnwindSafe for ChannelSource
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