pub struct AdminPromotedData {
pub previous_role: String,
pub authorising_credential_id: String,
pub authorising_session_id: String,
}Fields§
§previous_role: StringRole the member held immediately before promotion.
Credential id of the passkey whose UV authorised the promotion.
Populated when the ceremony and the promotion were the same request
(the retired fused promote-to-admin endpoint). Since the fold, the UV
happens in a separate step-up ceremony, so this is empty and
authorising_session_id is the link to the
AuthSteppedUp row carrying the
credential. Retained rather than removed so archived envelopes still
deserialise — #[serde(default)] on both fields means rows written on
either side of the fold read back cleanly.
Session whose live step-up elevation authorised this promotion. Join
key to the AuthSteppedUp row for the credential and the moment of
user verification.
Trait Implementations§
Source§impl Clone for AdminPromotedData
impl Clone for AdminPromotedData
Source§fn clone(&self) -> AdminPromotedData
fn clone(&self) -> AdminPromotedData
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 AdminPromotedData
impl Debug for AdminPromotedData
Source§impl<'de> Deserialize<'de> for AdminPromotedData
impl<'de> Deserialize<'de> for AdminPromotedData
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
impl Eq for AdminPromotedData
Source§impl PartialEq for AdminPromotedData
impl PartialEq for AdminPromotedData
Source§impl Serialize for AdminPromotedData
impl Serialize for AdminPromotedData
impl StructuralPartialEq for AdminPromotedData
Auto Trait Implementations§
impl Freeze for AdminPromotedData
impl RefUnwindSafe for AdminPromotedData
impl Send for AdminPromotedData
impl Sync for AdminPromotedData
impl Unpin for AdminPromotedData
impl UnsafeUnpin for AdminPromotedData
impl UnwindSafe for AdminPromotedData
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.