pub struct SourceCandidate {
pub source_key: String,
pub group: Option<String>,
}Expand description
One channel the connector carries.
Fields§
§source_key: StringThe key it registers under.
group: Option<String>The source’s own grouping: the station, the location, whatever a report is read by.
Trait Implementations§
Source§impl Clone for SourceCandidate
impl Clone for SourceCandidate
Source§fn clone(&self) -> SourceCandidate
fn clone(&self) -> SourceCandidate
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 Debug for SourceCandidate
impl Debug for SourceCandidate
Source§impl<'de> Deserialize<'de> for SourceCandidate
impl<'de> Deserialize<'de> for SourceCandidate
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 PartialEq for SourceCandidate
impl PartialEq for SourceCandidate
Source§impl Serialize for SourceCandidate
impl Serialize for SourceCandidate
impl StructuralPartialEq for SourceCandidate
Auto Trait Implementations§
impl Freeze for SourceCandidate
impl RefUnwindSafe for SourceCandidate
impl Send for SourceCandidate
impl Sync for SourceCandidate
impl Unpin for SourceCandidate
impl UnsafeUnpin for SourceCandidate
impl UnwindSafe for SourceCandidate
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