#[non_exhaustive]pub struct GetSessionEntityTypeRequest {
pub name: String,
/* private fields */
}Available on crate feature
session-entity-types only.Expand description
The request message for SessionEntityTypes.GetSessionEntityType.
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 entity type. Format:
projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name> or projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>.
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 GetSessionEntityTypeRequest
impl Clone for GetSessionEntityTypeRequest
Source§fn clone(&self) -> GetSessionEntityTypeRequest
fn clone(&self) -> GetSessionEntityTypeRequest
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 GetSessionEntityTypeRequest
impl Debug for GetSessionEntityTypeRequest
Source§impl Default for GetSessionEntityTypeRequest
impl Default for GetSessionEntityTypeRequest
Source§fn default() -> GetSessionEntityTypeRequest
fn default() -> GetSessionEntityTypeRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for GetSessionEntityTypeRequest
Auto Trait Implementations§
impl Freeze for GetSessionEntityTypeRequest
impl RefUnwindSafe for GetSessionEntityTypeRequest
impl Send for GetSessionEntityTypeRequest
impl Sync for GetSessionEntityTypeRequest
impl Unpin for GetSessionEntityTypeRequest
impl UnwindSafe for GetSessionEntityTypeRequest
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