pub struct FilePart {
pub file_name: String,
pub size: u64,
pub url: String,
pub md5: Option<String>,
}Expand description
One downloadable file belonging to a Media. For dual-lens 360 clips
there are two of these.
Fields§
§file_name: StringOriginal filename, e.g. VID_20250514_192854_00_005.insv.
size: u64Size in bytes as reported by the API (fileSize).
url: StringSigned download URL (Alibaba OSS). Short-lived — resolve just-in-time.
md5: Option<String>Expected MD5 if the API provides one, for integrity checking.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FilePart
impl<'de> Deserialize<'de> for FilePart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FilePart
impl RefUnwindSafe for FilePart
impl Send for FilePart
impl Sync for FilePart
impl Unpin for FilePart
impl UnsafeUnpin for FilePart
impl UnwindSafe for FilePart
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