pub struct UploadCredential {Show 15 fields
pub session_id: String,
pub expires: i64,
pub chunk_size: i64,
pub upload_urls: Option<Vec<String>>,
pub credential: String,
pub upload_id: String,
pub callback_secret: String,
pub ak: Option<String>,
pub key_time: Option<String>,
pub complete_url: Option<String>,
pub storage_policy: Option<StoragePolicy>,
pub uri: String,
pub mime_type: Option<String>,
pub upload_policy: Option<String>,
pub encrypt_metadata: Option<EncryptMetadata>,
}Expand description
Upload credential
Fields§
§session_id: String§expires: i64§chunk_size: i64§upload_urls: Option<Vec<String>>§credential: String§upload_id: String§callback_secret: String§ak: Option<String>§key_time: Option<String>§complete_url: Option<String>§storage_policy: Option<StoragePolicy>§uri: String§mime_type: Option<String>§upload_policy: Option<String>§encrypt_metadata: Option<EncryptMetadata>Trait Implementations§
Source§impl Clone for UploadCredential
impl Clone for UploadCredential
Source§fn clone(&self) -> UploadCredential
fn clone(&self) -> UploadCredential
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 UploadCredential
impl Debug for UploadCredential
Source§impl Default for UploadCredential
impl Default for UploadCredential
Source§fn default() -> UploadCredential
fn default() -> UploadCredential
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UploadCredential
impl<'de> Deserialize<'de> for UploadCredential
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 UploadCredential
impl RefUnwindSafe for UploadCredential
impl Send for UploadCredential
impl Sync for UploadCredential
impl Unpin for UploadCredential
impl UnsafeUnpin for UploadCredential
impl UnwindSafe for UploadCredential
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