#[non_exhaustive]pub struct GetSessionRequest {
pub name: String,
/* private fields */
}
Expand description
A request to get the resource representation for a session.
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.name: String
Required. The name of the session to retrieve.
Implementations§
Trait Implementations§
Source§impl Clone for GetSessionRequest
impl Clone for GetSessionRequest
Source§fn clone(&self) -> GetSessionRequest
fn clone(&self) -> GetSessionRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 GetSessionRequest
impl Debug for GetSessionRequest
Source§impl Default for GetSessionRequest
impl Default for GetSessionRequest
Source§fn default() -> GetSessionRequest
fn default() -> GetSessionRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetSessionRequest
impl Message for GetSessionRequest
Source§impl PartialEq for GetSessionRequest
impl PartialEq for GetSessionRequest
impl StructuralPartialEq for GetSessionRequest
Auto Trait Implementations§
impl Freeze for GetSessionRequest
impl RefUnwindSafe for GetSessionRequest
impl Send for GetSessionRequest
impl Sync for GetSessionRequest
impl Unpin for GetSessionRequest
impl UnwindSafe for GetSessionRequest
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