[][src]Struct gcp_client::google::cloud::support::common::Case

pub struct Case {
    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,
}

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

impl Case[src]

pub fn priority(&self) -> Priority[src]

Returns the enum value of priority, or the default if the field is set to an invalid enum value.

pub fn set_priority(&mut self, value: Priority)[src]

Sets priority to the provided enum value.

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for Case[src]

impl Debug for Case[src]

impl Default for Case[src]

impl Message for Case[src]

impl PartialEq<Case> for Case[src]

impl StructuralPartialEq for Case[src]

Auto Trait Implementations

impl RefUnwindSafe for Case

impl Send for Case

impl Sync for Case

impl Unpin for Case

impl UnwindSafe for Case

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]