pub struct FileStorageInfo {
pub uri: Option<String>,
pub headers: Option<Value>,
}
Expand description
File storage information.
Fields§
§uri: Option<String>
A URI that can be used to access the file content.
headers: Option<Value>
Implementations§
Trait Implementations§
source§impl Clone for FileStorageInfo
impl Clone for FileStorageInfo
source§fn clone(&self) -> FileStorageInfo
fn clone(&self) -> FileStorageInfo
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 Debug for FileStorageInfo
impl Debug for FileStorageInfo
source§impl Default for FileStorageInfo
impl Default for FileStorageInfo
source§fn default() -> FileStorageInfo
fn default() -> FileStorageInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FileStorageInfo
impl<'de> Deserialize<'de> for FileStorageInfo
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<FileStorageInfo> for FileStorageInfo
impl PartialEq<FileStorageInfo> for FileStorageInfo
source§fn eq(&self, other: &FileStorageInfo) -> bool
fn eq(&self, other: &FileStorageInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FileStorageInfo
impl Serialize for FileStorageInfo
impl StructuralPartialEq for FileStorageInfo
Auto Trait Implementations§
impl RefUnwindSafe for FileStorageInfo
impl Send for FileStorageInfo
impl Sync for FileStorageInfo
impl Unpin for FileStorageInfo
impl UnwindSafe for FileStorageInfo
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