[−][src]Struct openshift_openapi::api::user::v1::UserIdentityMapping
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]
body: &UserIdentityMapping,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
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]
name: &str,
optional: DeleteOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteResponse<Self>>), RequestError>
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]
name: &str,
body: &Patch,
optional: PatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchResponse<Self>>), RequestError>
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]
name: &str,
optional: ReadUserIdentityMappingOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadUserIdentityMappingResponse>), RequestError>
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]
name: &str,
body: &UserIdentityMapping,
optional: ReplaceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceResponse<Self>>), RequestError>
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]
fn clone(&self) -> UserIdentityMapping
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UserIdentityMapping
[src]
impl Default for UserIdentityMapping
[src]
fn default() -> UserIdentityMapping
[src]
impl<'de> Deserialize<'de> for UserIdentityMapping
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Metadata for UserIdentityMapping
[src]
impl PartialEq<UserIdentityMapping> for UserIdentityMapping
[src]
fn eq(&self, other: &UserIdentityMapping) -> bool
[src]
fn ne(&self, other: &UserIdentityMapping) -> bool
[src]
impl Resource for UserIdentityMapping
[src]
const API_VERSION: &'static str
[src]
const GROUP: &'static str
[src]
const KIND: &'static str
[src]
const VERSION: &'static str
[src]
impl Serialize for UserIdentityMapping
[src]
impl StructuralPartialEq for UserIdentityMapping
[src]
Auto Trait Implementations
impl RefUnwindSafe for UserIdentityMapping
impl Send for UserIdentityMapping
impl Sync for UserIdentityMapping
impl Unpin for UserIdentityMapping
impl UnwindSafe for UserIdentityMapping
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,