pub struct Source(pub String);Expand description
The collection (e.g., album) or other source (e.g., a band website that hosts streams or audio files).
Tuple Fields§
§0: StringTrait Implementations§
Source§impl AsXml for Source
impl AsXml for Source
impl Eq for Source
Source§impl FromXml for Source
impl FromXml for Source
Source§const XML_NAME_MATCHER: XmlNameMatcher<'static>
const XML_NAME_MATCHER: XmlNameMatcher<'static>
A predicate which determines if
Self may be parsed from
a given XML element. Read moreSource§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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