pub struct GetStructuredSummaryRequest {
pub session_id: String,
pub compact: Option<bool>,
pub decisions_limit: Option<u32>,
pub entities_limit: Option<u32>,
pub questions_limit: Option<u32>,
pub concepts_limit: Option<u32>,
pub min_confidence: Option<f32>,
}Fields§
§session_id: String§compact: Option<bool>§decisions_limit: Option<u32>§entities_limit: Option<u32>§questions_limit: Option<u32>§concepts_limit: Option<u32>§min_confidence: Option<f32>Implementations§
Source§impl GetStructuredSummaryRequest
impl GetStructuredSummaryRequest
Sourcepub fn compact(&self) -> bool
pub fn compact(&self) -> bool
Returns the value of compact, or the default value if compact is unset.
Sourcepub fn decisions_limit(&self) -> u32
pub fn decisions_limit(&self) -> u32
Returns the value of decisions_limit, or the default value if decisions_limit is unset.
Sourcepub fn entities_limit(&self) -> u32
pub fn entities_limit(&self) -> u32
Returns the value of entities_limit, or the default value if entities_limit is unset.
Sourcepub fn questions_limit(&self) -> u32
pub fn questions_limit(&self) -> u32
Returns the value of questions_limit, or the default value if questions_limit is unset.
Sourcepub fn concepts_limit(&self) -> u32
pub fn concepts_limit(&self) -> u32
Returns the value of concepts_limit, or the default value if concepts_limit is unset.
Sourcepub fn min_confidence(&self) -> f32
pub fn min_confidence(&self) -> f32
Returns the value of min_confidence, or the default value if min_confidence is unset.
Trait Implementations§
Source§impl Clone for GetStructuredSummaryRequest
impl Clone for GetStructuredSummaryRequest
Source§fn clone(&self) -> GetStructuredSummaryRequest
fn clone(&self) -> GetStructuredSummaryRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetStructuredSummaryRequest
impl Debug for GetStructuredSummaryRequest
Source§impl Message for GetStructuredSummaryRequest
impl Message for GetStructuredSummaryRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for GetStructuredSummaryRequest
impl PartialEq for GetStructuredSummaryRequest
Source§fn eq(&self, other: &GetStructuredSummaryRequest) -> bool
fn eq(&self, other: &GetStructuredSummaryRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetStructuredSummaryRequest
Auto Trait Implementations§
impl Freeze for GetStructuredSummaryRequest
impl RefUnwindSafe for GetStructuredSummaryRequest
impl Send for GetStructuredSummaryRequest
impl Sync for GetStructuredSummaryRequest
impl Unpin for GetStructuredSummaryRequest
impl UnsafeUnpin for GetStructuredSummaryRequest
impl UnwindSafe for GetStructuredSummaryRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request