#[non_exhaustive]pub struct DeleteSessionRequest {
pub name: String,
/* private fields */
}Available on crate features
conversational-search-service or session-service only.Expand description
Request for DeleteSession method.
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 resource name of the Session to delete. Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}
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