pub struct UploadFileOutput {
pub file_id: String,
pub upload_url: String,
pub uri: String,
pub expires_at: String,
}Expand description
The upload ticket returned by POST /v1/files (spec §6) — also the output
of the upload_file helper.
Fields§
§file_id: String§upload_url: StringPresigned PUT URL (~15 min expiry) the helper uploads the bytes to.
uri: StringThe audacity://files/<uuid> URI to reference in VideoSource::Uri.
expires_at: StringWhen the presigned upload_url expires (RFC 3339).
Trait Implementations§
Source§impl Clone for UploadFileOutput
impl Clone for UploadFileOutput
Source§fn clone(&self) -> UploadFileOutput
fn clone(&self) -> UploadFileOutput
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 UploadFileOutput
impl Debug for UploadFileOutput
Source§impl<'de> Deserialize<'de> for UploadFileOutput
impl<'de> Deserialize<'de> for UploadFileOutput
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
impl Eq for UploadFileOutput
Source§impl PartialEq for UploadFileOutput
impl PartialEq for UploadFileOutput
Source§fn eq(&self, other: &UploadFileOutput) -> bool
fn eq(&self, other: &UploadFileOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UploadFileOutput
Auto Trait Implementations§
impl Freeze for UploadFileOutput
impl RefUnwindSafe for UploadFileOutput
impl Send for UploadFileOutput
impl Sync for UploadFileOutput
impl Unpin for UploadFileOutput
impl UnsafeUnpin for UploadFileOutput
impl UnwindSafe for UploadFileOutput
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