#[non_exhaustive]pub struct SessionDetailResponse {
pub session: SessionItem,
}Expand description
The response for GET /v1/sessions/:id: the session record alone.
Models the contract’s SessionDetailResponse schema.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session: SessionItemThe contract’s session.
Trait Implementations§
Source§impl Clone for SessionDetailResponse
impl Clone for SessionDetailResponse
Source§fn clone(&self) -> SessionDetailResponse
fn clone(&self) -> SessionDetailResponse
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 SessionDetailResponse
impl Debug for SessionDetailResponse
Source§impl Default for SessionDetailResponse
impl Default for SessionDetailResponse
Source§fn default() -> SessionDetailResponse
fn default() -> SessionDetailResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionDetailResponsewhere
SessionDetailResponse: Default,
impl<'de> Deserialize<'de> for SessionDetailResponsewhere
SessionDetailResponse: Default,
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
Source§impl PartialEq for SessionDetailResponse
impl PartialEq for SessionDetailResponse
Source§impl Serialize for SessionDetailResponse
impl Serialize for SessionDetailResponse
impl StructuralPartialEq for SessionDetailResponse
Auto Trait Implementations§
impl Freeze for SessionDetailResponse
impl RefUnwindSafe for SessionDetailResponse
impl Send for SessionDetailResponse
impl Sync for SessionDetailResponse
impl Unpin for SessionDetailResponse
impl UnsafeUnpin for SessionDetailResponse
impl UnwindSafe for SessionDetailResponse
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