pub struct GetSessionInfo {}
Expand description
Fetch session information
Reference: web/controllers/session.py
Trait Implementations§
Source§impl Debug for GetSessionInfo
impl Debug for GetSessionInfo
Source§impl JsonRpcParams for GetSessionInfo
impl JsonRpcParams for GetSessionInfo
type Container<T> = OdooWebContainer<GetSessionInfo>
type Response = GetSessionInfoResponse
fn build(self, id: JsonRpcId) -> JsonRpcRequest<Self>
Source§impl OdooWebMethod for GetSessionInfo
impl OdooWebMethod for GetSessionInfo
Source§fn endpoint(&self) -> &'static str
fn endpoint(&self) -> &'static str
Describe method endpoint (e.g., “/web/session/authenticate”)
Source§fn _build(self, id: JsonRpcId) -> JsonRpcRequest<Self>
fn _build(self, id: JsonRpcId) -> JsonRpcRequest<Self>
Build
self
into a full JsonRpcRequest
Auto Trait Implementations§
impl Freeze for GetSessionInfo
impl RefUnwindSafe for GetSessionInfo
impl Send for GetSessionInfo
impl Sync for GetSessionInfo
impl Unpin for GetSessionInfo
impl UnwindSafe for GetSessionInfo
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