pub struct UploadDestination {
pub upload_destination_id: Option<String>,
pub url: Option<String>,
pub headers: Option<Value>,
}Expand description
UploadDestination : Information about an upload destination.
Fields§
§upload_destination_id: Option<String>The unique identifier for the upload destination.
url: Option<String>The URL for the upload destination.
headers: Option<Value>The headers to include in the upload request.
Implementations§
Source§impl UploadDestination
impl UploadDestination
Sourcepub fn new() -> UploadDestination
pub fn new() -> UploadDestination
Information about an upload destination.
Trait Implementations§
Source§impl Clone for UploadDestination
impl Clone for UploadDestination
Source§fn clone(&self) -> UploadDestination
fn clone(&self) -> UploadDestination
Returns a duplicate 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 Debug for UploadDestination
impl Debug for UploadDestination
Source§impl Default for UploadDestination
impl Default for UploadDestination
Source§fn default() -> UploadDestination
fn default() -> UploadDestination
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UploadDestination
impl<'de> Deserialize<'de> for UploadDestination
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
Source§impl PartialEq for UploadDestination
impl PartialEq for UploadDestination
Source§impl Serialize for UploadDestination
impl Serialize for UploadDestination
impl StructuralPartialEq for UploadDestination
Auto Trait Implementations§
impl Freeze for UploadDestination
impl RefUnwindSafe for UploadDestination
impl Send for UploadDestination
impl Sync for UploadDestination
impl Unpin for UploadDestination
impl UnwindSafe for UploadDestination
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