pub struct RestMethodMediaUploadProtocolsSimple {
pub path: Option<String>,
pub multipart: Option<bool>,
}
Expand description
Supports uploading as a single HTTP request.
This type is not used in any activity, and only used as part of another schema.
Fields§
§path: Option<String>
The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level.
multipart: Option<bool>
True if this endpoint supports upload multipart media.
Trait Implementations§
source§impl Clone for RestMethodMediaUploadProtocolsSimple
impl Clone for RestMethodMediaUploadProtocolsSimple
source§fn clone(&self) -> RestMethodMediaUploadProtocolsSimple
fn clone(&self) -> RestMethodMediaUploadProtocolsSimple
Returns a copy of the value. Read more
1.0.0 · 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 RestMethodMediaUploadProtocolsSimple
impl Default for RestMethodMediaUploadProtocolsSimple
source§fn default() -> RestMethodMediaUploadProtocolsSimple
fn default() -> RestMethodMediaUploadProtocolsSimple
Returns the “default value” for a type. Read more
source§impl Deserialize for RestMethodMediaUploadProtocolsSimple
impl Deserialize for RestMethodMediaUploadProtocolsSimple
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more
impl NestedType for RestMethodMediaUploadProtocolsSimple
impl Part for RestMethodMediaUploadProtocolsSimple
Auto Trait Implementations§
impl RefUnwindSafe for RestMethodMediaUploadProtocolsSimple
impl Send for RestMethodMediaUploadProtocolsSimple
impl Sync for RestMethodMediaUploadProtocolsSimple
impl Unpin for RestMethodMediaUploadProtocolsSimple
impl UnwindSafe for RestMethodMediaUploadProtocolsSimple
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