Struct gapi_grpc::google::devtools::cloudprofiler::v2::CreateProfileRequest[][src]

pub struct CreateProfileRequest {
    pub parent: String,
    pub deployment: Option<Deployment>,
    pub profile_type: Vec<i32>,
}

CreateProfileRequest describes a profile resource online creation request. The deployment field must be populated. The profile_type specifies the list of profile types supported by the agent. The creation call will hang until a profile of one of these types needs to be collected.

Fields

parent: String

Parent project to create the profile in.

deployment: Option<Deployment>

Deployment details.

profile_type: Vec<i32>

One or more profile types that the agent is capable of providing.

Implementations

impl CreateProfileRequest[src]

pub fn profile_type(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ProfileType>>
[src]

Returns an iterator which yields the valid enum values contained in profile_type.

pub fn push_profile_type(&mut self, value: ProfileType)[src]

Appends the provided enum value to profile_type.

Trait Implementations

impl Clone for CreateProfileRequest[src]

impl Debug for CreateProfileRequest[src]

impl Default for CreateProfileRequest[src]

impl Message for CreateProfileRequest[src]

impl PartialEq<CreateProfileRequest> for CreateProfileRequest[src]

impl StructuralPartialEq for CreateProfileRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateProfileRequest

impl Send for CreateProfileRequest

impl Sync for CreateProfileRequest

impl Unpin for CreateProfileRequest

impl UnwindSafe for CreateProfileRequest

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> 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>, 
[src]

impl<T> WithSubscriber for T[src]