#[non_exhaustive]pub struct PodcastSoundbite {
pub start_time: f64,
pub duration: f64,
pub title: Option<String>,
}Expand description
Podcast 2.0 soundbite (shareable clip)
Marks a portion of the audio for social sharing or highlights.
Namespace: https://podcastindex.org/namespace/1.0
§Examples
use feedparser_rs::PodcastSoundbite;
let mut soundbite = PodcastSoundbite::default();
soundbite.start_time = 120.5;
soundbite.duration = 30.0;
soundbite.title = Some("Great quote".to_string());
assert_eq!(soundbite.start_time, 120.5);
assert_eq!(soundbite.duration, 30.0);Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.start_time: f64Start time in seconds (startTime attribute)
duration: f64Duration in seconds (duration attribute)
title: Option<String>Optional title/description (text content)
Trait Implementations§
Source§impl Clone for PodcastSoundbite
impl Clone for PodcastSoundbite
Source§impl Debug for PodcastSoundbite
impl Debug for PodcastSoundbite
Source§impl Default for PodcastSoundbite
impl Default for PodcastSoundbite
Source§impl PartialEq for PodcastSoundbite
impl PartialEq for PodcastSoundbite
impl StructuralPartialEq for PodcastSoundbite
Auto Trait Implementations§
impl Forget for PodcastSoundbite
impl Freeze for PodcastSoundbite
impl Move for PodcastSoundbite
impl RefUnwindSafe for PodcastSoundbite
impl Send for PodcastSoundbitewhere
RawVecInner: Send,
impl Sync for PodcastSoundbitewhere
RawVecInner: Sync,
impl Unpin for PodcastSoundbite
impl UnsafeUnpin for PodcastSoundbite
impl UnwindSafe for PodcastSoundbitewhere
RawVecInner: UnwindSafe,
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