pub struct SessionView {
pub session_id: Option<String>,
pub status: Option<String>,
pub expires_at: Option<String>,
pub extra: Map<String, Value>,
}Expand description
GET /sessions/:id. The API proxies the pool’s view through verbatim, so
every field is optional and unknown keys land in SessionView::extra.
Fields§
§session_id: Option<String>§status: Option<String>§expires_at: Option<String>§extra: Map<String, Value>Trait Implementations§
Source§impl Clone for SessionView
impl Clone for SessionView
Source§impl Debug for SessionView
impl Debug for SessionView
Source§impl Default for SessionView
impl Default for SessionView
Source§impl<'de> Deserialize<'de> for SessionView
impl<'de> Deserialize<'de> for SessionView
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 SessionView
impl RefUnwindSafe for SessionView
impl Send for SessionView
impl Sync for SessionView
impl Unpin for SessionView
impl UnsafeUnpin for SessionView
impl UnwindSafe for SessionView
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