pub struct VideoEntry {
pub id: String,
pub published: Option<DateTime<Utc>>,
}Expand description
A single video enumerated from a channel, newest-first.
published is present for the RSS path (which carries <published> per
entry) and absent for the browse path (the upload grid has no per-item
dates).
Fields§
§id: String11-character YouTube video ID.
published: Option<DateTime<Utc>>Publish timestamp, when the enumeration source provides one.
Trait Implementations§
Source§impl Clone for VideoEntry
impl Clone for VideoEntry
Source§fn clone(&self) -> VideoEntry
fn clone(&self) -> VideoEntry
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 VideoEntry
impl Debug for VideoEntry
impl Eq for VideoEntry
Source§impl PartialEq for VideoEntry
impl PartialEq for VideoEntry
Source§fn eq(&self, other: &VideoEntry) -> bool
fn eq(&self, other: &VideoEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VideoEntry
Auto Trait Implementations§
impl Freeze for VideoEntry
impl RefUnwindSafe for VideoEntry
impl Send for VideoEntry
impl Sync for VideoEntry
impl Unpin for VideoEntry
impl UnsafeUnpin for VideoEntry
impl UnwindSafe for VideoEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.