#[non_exhaustive]pub struct DeleteAllContextsRequest {
pub parent: String,
/* private fields */
}Available on crate feature
contexts only.Expand description
The request message for Contexts.DeleteAllContexts.
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.parent: StringRequired. The name of the session to delete all contexts from. Format:
projects/<Project ID>/agent/sessions/<Session ID> or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>.
If Environment ID is not specified we assume default ‘draft’ environment.
If User ID is not specified, we assume default ‘-’ user.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteAllContextsRequest
impl Clone for DeleteAllContextsRequest
Source§fn clone(&self) -> DeleteAllContextsRequest
fn clone(&self) -> DeleteAllContextsRequest
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 DeleteAllContextsRequest
impl Debug for DeleteAllContextsRequest
Source§impl Default for DeleteAllContextsRequest
impl Default for DeleteAllContextsRequest
Source§fn default() -> DeleteAllContextsRequest
fn default() -> DeleteAllContextsRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteAllContextsRequest
impl Message for DeleteAllContextsRequest
Source§impl PartialEq for DeleteAllContextsRequest
impl PartialEq for DeleteAllContextsRequest
impl StructuralPartialEq for DeleteAllContextsRequest
Auto Trait Implementations§
impl Freeze for DeleteAllContextsRequest
impl RefUnwindSafe for DeleteAllContextsRequest
impl Send for DeleteAllContextsRequest
impl Sync for DeleteAllContextsRequest
impl Unpin for DeleteAllContextsRequest
impl UnwindSafe for DeleteAllContextsRequest
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