#[non_exhaustive]pub struct GetSessionRequest {
pub name: String,
pub include_answer_details: bool,
/* private fields */
}Available on crate features
conversational-search-service or session-service only.Expand description
Request for GetSession 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 get. Format:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}
include_answer_details: boolOptional. If set to true, the full session including all answer details will be returned.
Implementations§
Source§impl GetSessionRequest
impl GetSessionRequest
Trait Implementations§
Source§impl Clone for GetSessionRequest
impl Clone for GetSessionRequest
Source§fn clone(&self) -> GetSessionRequest
fn clone(&self) -> GetSessionRequest
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 GetSessionRequest
impl Debug for GetSessionRequest
Source§impl Default for GetSessionRequest
impl Default for GetSessionRequest
Source§fn default() -> GetSessionRequest
fn default() -> GetSessionRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetSessionRequest
impl Message for GetSessionRequest
Source§impl PartialEq for GetSessionRequest
impl PartialEq for GetSessionRequest
impl StructuralPartialEq for GetSessionRequest
Auto Trait Implementations§
impl Freeze for GetSessionRequest
impl RefUnwindSafe for GetSessionRequest
impl Send for GetSessionRequest
impl Sync for GetSessionRequest
impl Unpin for GetSessionRequest
impl UnwindSafe for GetSessionRequest
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