pub struct RevokeSessionResponse {
pub revoked_count: u64,
}Expand description
Trust-task payload for spec/auth/revoke-session/0.1#response.
Canonical requires revokedCount — how many sessions the request ended.
This VTA revokes exactly the one named session, so the count is 1 on
success (#857: the previous empty {} body failed the published schema’s
required set).
Fields§
§revoked_count: u64Number of sessions revoked by this request.
Trait Implementations§
Source§impl Clone for RevokeSessionResponse
impl Clone for RevokeSessionResponse
Source§fn clone(&self) -> RevokeSessionResponse
fn clone(&self) -> RevokeSessionResponse
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 RevokeSessionResponse
impl Debug for RevokeSessionResponse
Source§impl Default for RevokeSessionResponse
impl Default for RevokeSessionResponse
Source§fn default() -> RevokeSessionResponse
fn default() -> RevokeSessionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RevokeSessionResponse
impl<'de> Deserialize<'de> for RevokeSessionResponse
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
Auto Trait Implementations§
impl Freeze for RevokeSessionResponse
impl RefUnwindSafe for RevokeSessionResponse
impl Send for RevokeSessionResponse
impl Sync for RevokeSessionResponse
impl Unpin for RevokeSessionResponse
impl UnsafeUnpin for RevokeSessionResponse
impl UnwindSafe for RevokeSessionResponse
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