pub struct FileSystemConfig {
pub uri: FsUri,
pub options: Metadata,
pub credentials: Option<CredentialRef>,
}Expand description
Configuration passed to filesystem providers.
Fields§
§uri: FsUriURI used to select and initialize the provider.
options: MetadataNon-sensitive provider options.
credentials: Option<CredentialRef>Optional credential reference.
Implementations§
Trait Implementations§
Source§impl Clone for FileSystemConfig
impl Clone for FileSystemConfig
Source§fn clone(&self) -> FileSystemConfig
fn clone(&self) -> FileSystemConfig
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 Debug for FileSystemConfig
impl Debug for FileSystemConfig
Source§impl PartialEq for FileSystemConfig
impl PartialEq for FileSystemConfig
Source§fn eq(&self, other: &FileSystemConfig) -> bool
fn eq(&self, other: &FileSystemConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FileSystemConfig
Auto Trait Implementations§
impl Freeze for FileSystemConfig
impl RefUnwindSafe for FileSystemConfig
impl Send for FileSystemConfig
impl Sync for FileSystemConfig
impl Unpin for FileSystemConfig
impl UnsafeUnpin for FileSystemConfig
impl UnwindSafe for FileSystemConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.