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
sourceimpl UploadDestination
impl UploadDestination
sourcepub fn new() -> UploadDestination
pub fn new() -> UploadDestination
Information about an upload destination.
Trait Implementations
sourceimpl Clone for UploadDestination
impl Clone for UploadDestination
sourcefn clone(&self) -> UploadDestination
fn clone(&self) -> UploadDestination
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for UploadDestination
impl Debug for UploadDestination
sourceimpl Default for UploadDestination
impl Default for UploadDestination
sourcefn default() -> UploadDestination
fn default() -> UploadDestination
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UploadDestination
impl<'de> Deserialize<'de> for UploadDestination
sourcefn 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
sourceimpl PartialEq<UploadDestination> for UploadDestination
impl PartialEq<UploadDestination> for UploadDestination
sourcefn eq(&self, other: &UploadDestination) -> bool
fn eq(&self, other: &UploadDestination) -> bool
sourceimpl Serialize for UploadDestination
impl Serialize for UploadDestination
impl StructuralPartialEq for UploadDestination
Auto Trait Implementations
impl RefUnwindSafe for UploadDestination
impl Send for UploadDestination
impl Sync for UploadDestination
impl Unpin for UploadDestination
impl UnwindSafe for UploadDestination
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more