pub struct UserDelegationKey {
pub signed_oid: String,
pub signed_tid: String,
pub signed_start: OffsetDateTime,
pub signed_expiry: OffsetDateTime,
pub signed_service: String,
pub signed_version: String,
pub value: String,
}
Expand description
A user delegation key
Fields§
§signed_oid: String
The Azure Active Directory object ID in GUID format.
signed_tid: String
The Azure Active Directory tenant ID in GUID format
signed_start: OffsetDateTime
The date-time the key is active
signed_expiry: OffsetDateTime
The date-time the key expires
signed_service: String
Abbreviation of the Azure Storage service that accepts the key
signed_version: String
The service version that created the key
value: String
The key as a base64 string
Implementations§
source§impl UserDelegationKey
impl UserDelegationKey
pub fn new( signed_oid: String, signed_tid: String, signed_start: OffsetDateTime, signed_expiry: OffsetDateTime, signed_service: String, signed_version: String, value: String, ) -> Self
Trait Implementations§
source§impl Clone for UserDelegationKey
impl Clone for UserDelegationKey
source§fn clone(&self) -> UserDelegationKey
fn clone(&self) -> UserDelegationKey
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 UserDelegationKey
impl Debug for UserDelegationKey
source§impl<'de> Deserialize<'de> for UserDelegationKey
impl<'de> Deserialize<'de> for UserDelegationKey
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 for UserDelegationKey
impl PartialEq for UserDelegationKey
source§impl Serialize for UserDelegationKey
impl Serialize for UserDelegationKey
impl StructuralPartialEq for UserDelegationKey
Auto Trait Implementations§
impl Freeze for UserDelegationKey
impl RefUnwindSafe for UserDelegationKey
impl Send for UserDelegationKey
impl Sync for UserDelegationKey
impl Unpin for UserDelegationKey
impl UnwindSafe for UserDelegationKey
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)