[][src]Struct openshift_openapi::api::project::v1::ProjectRequest

pub struct ProjectRequest {
    pub description: Option<String>,
    pub display_name: Option<String>,
    pub metadata: Option<ObjectMeta>,
}

ProjecRequest is the set of options necessary to fully qualify a project request

Fields

description: Option<String>

Description is the description to apply to a project

display_name: Option<String>

DisplayName is the display name to apply to a project

metadata: Option<ObjectMeta>

Standard object's metadata.

Implementations

impl ProjectRequest[src]

pub fn create_project_request(
    body: &ProjectRequest,
    optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
[src]

create a ProjectRequest

Use the returned k8s_openapi::ResponseBody<k8s_openapi::CreateResponse<Self>> constructor, or k8s_openapi::CreateResponse<Self> directly, to parse the HTTP response.

Arguments

  • body

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl ProjectRequest[src]

pub fn list_project_request(
    optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListProjectRequestResponse>), RequestError>
[src]

list objects of kind ProjectRequest

This operation only supports listing all items of this type.

Use the returned k8s_openapi::ResponseBody<ListProjectRequestResponse> constructor, or ListProjectRequestResponse directly, to parse the HTTP response.

Arguments

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl ProjectRequest[src]

pub fn watch_project_request(
    optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchResponse<Self>>), RequestError>
[src]

list objects of kind ProjectRequest

This operation only supports watching one item, or a list of items, of this type for changes.

Use the returned k8s_openapi::ResponseBody<k8s_openapi::WatchResponse<Self>> constructor, or k8s_openapi::WatchResponse<Self> directly, to parse the HTTP response.

Arguments

  • optional

    Optional parameters. Use Default::default() to not pass any.

Trait Implementations

impl Clone for ProjectRequest[src]

impl Debug for ProjectRequest[src]

impl Default for ProjectRequest[src]

impl<'de> Deserialize<'de> for ProjectRequest[src]

impl Metadata for ProjectRequest[src]

type Ty = ObjectMeta

The type of the metadata object.

impl PartialEq<ProjectRequest> for ProjectRequest[src]

impl Resource for ProjectRequest[src]

impl Serialize for ProjectRequest[src]

impl StructuralPartialEq for ProjectRequest[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.