#[non_exhaustive]pub struct DeleteSessionRequest {
pub name: String,
pub request_id: String,
/* private fields */
}Expand description
A request to delete 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: StringRequired. The name of the session resource to delete.
request_id: StringOptional. A unique ID used to identify the request. If the service receives two DeleteSessionRequests with the same ID, the second request is ignored.
Recommendation: Set this value to a UUID.
The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteSessionRequest
impl Clone for DeleteSessionRequest
Source§fn clone(&self) -> DeleteSessionRequest
fn clone(&self) -> DeleteSessionRequest
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 DeleteSessionRequest
impl Debug for DeleteSessionRequest
Source§impl Default for DeleteSessionRequest
impl Default for DeleteSessionRequest
Source§fn default() -> DeleteSessionRequest
fn default() -> DeleteSessionRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteSessionRequest
impl Message for DeleteSessionRequest
Source§impl PartialEq for DeleteSessionRequest
impl PartialEq for DeleteSessionRequest
impl StructuralPartialEq for DeleteSessionRequest
Auto Trait Implementations§
impl Freeze for DeleteSessionRequest
impl RefUnwindSafe for DeleteSessionRequest
impl Send for DeleteSessionRequest
impl Sync for DeleteSessionRequest
impl Unpin for DeleteSessionRequest
impl UnwindSafe for DeleteSessionRequest
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