pub struct FileReferenceOptions {
pub file: ProviderReference,
pub headers: Headers,
pub provider_options: ProviderOptions,
pub cancellation: CancellationToken,
}Expand description
Options for operations on an existing file.
Fields§
§file: ProviderReferenceReference of the file.
headers: HeadersAdditional request headers.
provider_options: ProviderOptionsProvider-specific options keyed by provider name.
cancellation: CancellationTokenCancellation token.
Implementations§
Source§impl FileReferenceOptions
impl FileReferenceOptions
Sourcepub fn new(file: ProviderReference) -> Self
pub fn new(file: ProviderReference) -> Self
Creates options for file.
Trait Implementations§
Source§impl Clone for FileReferenceOptions
impl Clone for FileReferenceOptions
Source§fn clone(&self) -> FileReferenceOptions
fn clone(&self) -> FileReferenceOptions
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 moreAuto Trait Implementations§
impl Freeze for FileReferenceOptions
impl RefUnwindSafe for FileReferenceOptions
impl Send for FileReferenceOptions
impl Sync for FileReferenceOptions
impl Unpin for FileReferenceOptions
impl UnsafeUnpin for FileReferenceOptions
impl UnwindSafe for FileReferenceOptions
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