pub struct RestMethodMediaUploadProtocols {
pub resumable: Option<RestMethodMediaUploadProtocolsResumable>,
pub simple: Option<RestMethodMediaUploadProtocolsSimple>,
}Expand description
Supported upload protocols.
This type is not used in any activity, and only used as part of another schema.
Fields§
§resumable: Option<RestMethodMediaUploadProtocolsResumable>Supports the Resumable Media Upload protocol.
simple: Option<RestMethodMediaUploadProtocolsSimple>Supports uploading as a single HTTP request.
Trait Implementations§
Source§impl Clone for RestMethodMediaUploadProtocols
impl Clone for RestMethodMediaUploadProtocols
Source§fn clone(&self) -> RestMethodMediaUploadProtocols
fn clone(&self) -> RestMethodMediaUploadProtocols
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 Default for RestMethodMediaUploadProtocols
impl Default for RestMethodMediaUploadProtocols
Source§fn default() -> RestMethodMediaUploadProtocols
fn default() -> RestMethodMediaUploadProtocols
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RestMethodMediaUploadProtocols
impl<'de> Deserialize<'de> for RestMethodMediaUploadProtocols
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 NestedType for RestMethodMediaUploadProtocols
impl Part for RestMethodMediaUploadProtocols
Auto Trait Implementations§
impl Freeze for RestMethodMediaUploadProtocols
impl RefUnwindSafe for RestMethodMediaUploadProtocols
impl Send for RestMethodMediaUploadProtocols
impl Sync for RestMethodMediaUploadProtocols
impl Unpin for RestMethodMediaUploadProtocols
impl UnsafeUnpin for RestMethodMediaUploadProtocols
impl UnwindSafe for RestMethodMediaUploadProtocols
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