[][src]Struct openshift_openapi::api::user::v1::UserIdentityMapping

pub struct UserIdentityMapping {
    pub identity: Option<ObjectReference>,
    pub metadata: Option<ObjectMeta>,
    pub user: Option<ObjectReference>,
}

UserIdentityMapping maps a user to an identity

Fields

identity: Option<ObjectReference>

Identity is a reference to an identity

metadata: Option<ObjectMeta>

Standard object's metadata.

user: Option<ObjectReference>

User is a reference to a user

Implementations

impl UserIdentityMapping[src]

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

create an UserIdentityMapping

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

pub fn delete_user_identity_mapping(
    name: &str,
    optional: DeleteOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteResponse<Self>>), RequestError>
[src]

delete an UserIdentityMapping

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

Arguments

  • name

    name of the UserIdentityMapping

  • optional

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

impl UserIdentityMapping[src]

pub fn patch_user_identity_mapping(
    name: &str,
    body: &Patch,
    optional: PatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchResponse<Self>>), RequestError>
[src]

partially update the specified UserIdentityMapping

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

Arguments

  • name

    name of the UserIdentityMapping

  • body

  • optional

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

impl UserIdentityMapping[src]

pub fn read_user_identity_mapping(
    name: &str,
    optional: ReadUserIdentityMappingOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadUserIdentityMappingResponse>), RequestError>
[src]

read the specified UserIdentityMapping

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

Arguments

  • name

    name of the UserIdentityMapping

  • optional

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

impl UserIdentityMapping[src]

pub fn replace_user_identity_mapping(
    name: &str,
    body: &UserIdentityMapping,
    optional: ReplaceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceResponse<Self>>), RequestError>
[src]

replace the specified UserIdentityMapping

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

Arguments

  • name

    name of the UserIdentityMapping

  • body

  • optional

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

Trait Implementations

impl Clone for UserIdentityMapping[src]

impl Debug for UserIdentityMapping[src]

impl Default for UserIdentityMapping[src]

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

impl Metadata for UserIdentityMapping[src]

type Ty = ObjectMeta

The type of the metadata object.

impl PartialEq<UserIdentityMapping> for UserIdentityMapping[src]

impl Resource for UserIdentityMapping[src]

impl Serialize for UserIdentityMapping[src]

impl StructuralPartialEq for UserIdentityMapping[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.