pub struct PodcastFunding {
pub url: String,
pub message: Option<String>,
}Expand description
Podcast 2.0 funding information
Links for supporting the podcast financially.
§Examples
use feedparser_rs::PodcastFunding;
let funding = PodcastFunding {
url: "https://example.com/donate".to_string(),
message: Some("Support our show!".to_string()),
};
assert_eq!(funding.url, "https://example.com/donate");Fields§
§url: StringFunding URL (url attribute)
message: Option<String>Optional message/call-to-action (text content)
Trait Implementations§
Source§impl Clone for PodcastFunding
impl Clone for PodcastFunding
Source§fn clone(&self) -> PodcastFunding
fn clone(&self) -> PodcastFunding
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PodcastFunding
impl RefUnwindSafe for PodcastFunding
impl Send for PodcastFunding
impl Sync for PodcastFunding
impl Unpin for PodcastFunding
impl UnwindSafe for PodcastFunding
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)