Struct google_api_proto::google::cloud::contactcenterinsights::v1::IssueModel
source · pub struct IssueModel {
pub name: String,
pub display_name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub issue_count: i64,
pub state: i32,
pub input_data_config: Option<InputDataConfig>,
pub training_stats: Option<IssueModelLabelStats>,
pub model_type: i32,
pub language_code: String,
}
Expand description
The issue model resource.
Fields§
§name: String
Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}
display_name: String
The representative name for the issue model.
create_time: Option<Timestamp>
Output only. The time at which this issue model was created.
update_time: Option<Timestamp>
Output only. The most recent time at which the issue model was updated.
issue_count: i64
Output only. Number of issues in this issue model.
state: i32
Output only. State of the model.
input_data_config: Option<InputDataConfig>
Configs for the input data that used to create the issue model.
training_stats: Option<IssueModelLabelStats>
Output only. Immutable. The issue model’s label statistics on its training data.
model_type: i32
Type of the model.
language_code: String
Language of the model.
Implementations§
source§impl IssueModel
impl IssueModel
sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
sourcepub fn model_type(&self) -> ModelType
pub fn model_type(&self) -> ModelType
Returns the enum value of model_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_model_type(&mut self, value: ModelType)
pub fn set_model_type(&mut self, value: ModelType)
Sets model_type
to the provided enum value.
Trait Implementations§
source§impl Clone for IssueModel
impl Clone for IssueModel
source§fn clone(&self) -> IssueModel
fn clone(&self) -> IssueModel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IssueModel
impl Debug for IssueModel
source§impl Default for IssueModel
impl Default for IssueModel
source§impl Message for IssueModel
impl Message for IssueModel
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
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,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
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,
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,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
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,
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,
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,
self
.source§impl PartialEq for IssueModel
impl PartialEq for IssueModel
source§fn eq(&self, other: &IssueModel) -> bool
fn eq(&self, other: &IssueModel) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IssueModel
Auto Trait Implementations§
impl Freeze for IssueModel
impl RefUnwindSafe for IssueModel
impl Send for IssueModel
impl Sync for IssueModel
impl Unpin for IssueModel
impl UnwindSafe for IssueModel
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
T
in a tonic::Request