#[non_exhaustive]pub struct GetDeviceSessionRequest {
pub name: String,
/* private fields */
}Expand description
Request message for DirectAccessService.GetDeviceSession.
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: StringRequired. Name of the DeviceSession, e.g. “projects/{project_id}/deviceSessions/{session_id}”
Implementations§
Trait Implementations§
Source§impl Clone for GetDeviceSessionRequest
impl Clone for GetDeviceSessionRequest
Source§fn clone(&self) -> GetDeviceSessionRequest
fn clone(&self) -> GetDeviceSessionRequest
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 GetDeviceSessionRequest
impl Debug for GetDeviceSessionRequest
Source§impl Default for GetDeviceSessionRequest
impl Default for GetDeviceSessionRequest
Source§fn default() -> GetDeviceSessionRequest
fn default() -> GetDeviceSessionRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetDeviceSessionRequest
impl Message for GetDeviceSessionRequest
Source§impl PartialEq for GetDeviceSessionRequest
impl PartialEq for GetDeviceSessionRequest
impl StructuralPartialEq for GetDeviceSessionRequest
Auto Trait Implementations§
impl Freeze for GetDeviceSessionRequest
impl RefUnwindSafe for GetDeviceSessionRequest
impl Send for GetDeviceSessionRequest
impl Sync for GetDeviceSessionRequest
impl Unpin for GetDeviceSessionRequest
impl UnwindSafe for GetDeviceSessionRequest
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