pub struct RevokeSessionInput {
pub token: Option<String>,
pub id: Option<Id>,
}Fields§
§token: Option<String>Better Auth clients send the token; it is hashed to find the session.
id: Option<Id>Trait Implementations§
Source§impl Debug for RevokeSessionInput
impl Debug for RevokeSessionInput
Source§impl<'de> Deserialize<'de> for RevokeSessionInput
impl<'de> Deserialize<'de> for RevokeSessionInput
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 Forget for RevokeSessionInput
impl Freeze for RevokeSessionInput
impl Move for RevokeSessionInput
impl RefUnwindSafe for RevokeSessionInput
impl Send for RevokeSessionInput
impl Sync for RevokeSessionInput
impl Unpin for RevokeSessionInput
impl UnsafeUnpin for RevokeSessionInput
impl UnwindSafe for RevokeSessionInput
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