pub struct Case {Show 15 fields
pub name: String,
pub display_name: String,
pub description: String,
pub component: String,
pub subcomponent: String,
pub client_timezone: String,
pub cc_addresses: Vec<String>,
pub project_id: String,
pub issues: Vec<CustomerIssue>,
pub priority: i32,
pub state: i32,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub creator_email: String,
pub category: String,
}
Expand description
A support case created by the user.
Fields§
§name: String
The resource name for the Case in format
supportAccounts/{account_id}/cases/{case_id}
display_name: String
The short summary of the issue reported in this case.
description: String
The board description of issue provided with initial summary.
component: String
The product component for which this Case is reported.
subcomponent: String
The product subcomponent for which this Case is reported.
client_timezone: String
Timezone the client sending this request is in. It should be in a format IANA recognizes: https://www.iana.org/time-zone There is no additional validation done by the API.
cc_addresses: Vec<String>
The email addresses that can be copied to receive updates on this case. Users can specify a maximum of 10 email addresses.
project_id: String
The Google Cloud Platform project ID for which this case is created.
issues: Vec<CustomerIssue>
List of customer issues associated with this case.
priority: i32
The current priority of this case.
state: i32
The current state of this case.
create_time: Option<Timestamp>
Time when this case was created. Output only.
update_time: Option<Timestamp>
Time when this case was last updated. Output only.
creator_email: String
Email address of user who created this case. Output only. It is inferred from credentials supplied during case creation.
category: String
The issue category applicable to this case.
Implementations§
Source§impl Case
impl Case
Sourcepub fn priority(&self) -> Priority
pub fn priority(&self) -> Priority
Returns the enum value of priority
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_priority(&mut self, value: Priority)
pub fn set_priority(&mut self, value: Priority)
Sets priority
to the provided enum value.
Trait Implementations§
Source§impl Message for Case
impl Message for Case
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.impl StructuralPartialEq for Case
Auto Trait Implementations§
impl Freeze for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnwindSafe for Case
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
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> 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>
T
in a tonic::Request