Struct azure_storage_blobs::prelude::StoredAccessPolicy
source · [−]pub struct StoredAccessPolicy {
pub id: String,
pub start: DateTime<FixedOffset>,
pub expiry: DateTime<FixedOffset>,
pub permission: String,
}
Fields
id: String
start: DateTime<FixedOffset>
expiry: DateTime<FixedOffset>
permission: String
Implementations
pub fn new<A, B>(
id: A,
start: DateTime<FixedOffset>,
expiry: DateTime<FixedOffset>,
permission: B
) -> StoredAccessPolicy where
A: Into<String>,
B: Into<String>,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StoredAccessPolicy
impl Send for StoredAccessPolicy
impl Sync for StoredAccessPolicy
impl Unpin for StoredAccessPolicy
impl UnwindSafe for StoredAccessPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more