pub struct Enclosure {
pub url: String,
pub length: Option<u64>,
pub enclosure_type: Option<String>,
}Expand description
Enclosure (attached media file)
Fields§
§url: StringEnclosure URL
length: Option<u64>File size in bytes
enclosure_type: Option<String>MIME type
Trait Implementations§
Source§impl FromAttributes for Enclosure
impl FromAttributes for Enclosure
Auto Trait Implementations§
impl Freeze for Enclosure
impl RefUnwindSafe for Enclosure
impl Send for Enclosure
impl Sync for Enclosure
impl Unpin for Enclosure
impl UnwindSafe for Enclosure
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)