#[non_exhaustive]pub struct AzureBlobSasConfigurationBuilder { /* private fields */ }
Expand description
A builder for AzureBlobSasConfiguration
.
Implementations§
source§impl AzureBlobSasConfigurationBuilder
impl AzureBlobSasConfigurationBuilder
sourcepub fn token(self, input: impl Into<String>) -> Self
pub fn token(self, input: impl Into<String>) -> Self
Specifies a SAS token that provides permissions to access your Azure Blob Storage.
The token is part of the SAS URI string that comes after the storage resource URI and a question mark. A token looks something like this:
sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D
sourcepub fn set_token(self, input: Option<String>) -> Self
pub fn set_token(self, input: Option<String>) -> Self
Specifies a SAS token that provides permissions to access your Azure Blob Storage.
The token is part of the SAS URI string that comes after the storage resource URI and a question mark. A token looks something like this:
sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D
sourcepub fn get_token(&self) -> &Option<String>
pub fn get_token(&self) -> &Option<String>
Specifies a SAS token that provides permissions to access your Azure Blob Storage.
The token is part of the SAS URI string that comes after the storage resource URI and a question mark. A token looks something like this:
sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D
sourcepub fn build(self) -> Result<AzureBlobSasConfiguration, BuildError>
pub fn build(self) -> Result<AzureBlobSasConfiguration, BuildError>
Consumes the builder and constructs a AzureBlobSasConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AzureBlobSasConfigurationBuilder
impl Clone for AzureBlobSasConfigurationBuilder
source§fn clone(&self) -> AzureBlobSasConfigurationBuilder
fn clone(&self) -> AzureBlobSasConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AzureBlobSasConfigurationBuilder
impl Default for AzureBlobSasConfigurationBuilder
source§fn default() -> AzureBlobSasConfigurationBuilder
fn default() -> AzureBlobSasConfigurationBuilder
source§impl PartialEq for AzureBlobSasConfigurationBuilder
impl PartialEq for AzureBlobSasConfigurationBuilder
source§fn eq(&self, other: &AzureBlobSasConfigurationBuilder) -> bool
fn eq(&self, other: &AzureBlobSasConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AzureBlobSasConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AzureBlobSasConfigurationBuilder
impl RefUnwindSafe for AzureBlobSasConfigurationBuilder
impl Send for AzureBlobSasConfigurationBuilder
impl Sync for AzureBlobSasConfigurationBuilder
impl Unpin for AzureBlobSasConfigurationBuilder
impl UnwindSafe for AzureBlobSasConfigurationBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more