[−][src]Struct openshift_openapi::api::authorization::v1::ResourceAccessReview
ResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec
Fields
content: Option<RawExtension>Content is the actual content of the request for create and update
is_non_resource_url: boolIsNonResourceURL is true if this is a request for a non-resource URL (outside of the resource hieraarchy)
namespace: StringNamespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces
path: StringPath is the path of a non resource URL
resource: StringResource is one of the existing resource types
resource_api_group: StringGroup is the API group of the resource Serialized as resourceAPIGroup to avoid confusion with the 'groups' field when inlined
resource_api_version: StringVersion is the API version of the resource Serialized as resourceAPIVersion to avoid confusion with TypeMeta.apiVersion and ObjectMeta.resourceVersion when inlined
resource_name: StringResourceName is the name of the resource being requested for a "get" or deleted for a "delete"
verb: StringVerb is one of: get, list, watch, create, update, delete
Implementations
impl ResourceAccessReview[src]
pub fn create_resource_access_review(
body: &ResourceAccessReview,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>[src]
body: &ResourceAccessReview,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
create a ResourceAccessReview
Use the returned k8s_openapi::ResponseBody<k8s_openapi::CreateResponse<Self>> constructor, or k8s_openapi::CreateResponse<Self> directly, to parse the HTTP response.
Arguments
-
body -
optionalOptional parameters. Use
Default::default()to not pass any.
Trait Implementations
impl Clone for ResourceAccessReview[src]
fn clone(&self) -> ResourceAccessReview[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ResourceAccessReview[src]
impl Default for ResourceAccessReview[src]
fn default() -> ResourceAccessReview[src]
impl<'de> Deserialize<'de> for ResourceAccessReview[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl PartialEq<ResourceAccessReview> for ResourceAccessReview[src]
fn eq(&self, other: &ResourceAccessReview) -> bool[src]
fn ne(&self, other: &ResourceAccessReview) -> bool[src]
impl Resource for ResourceAccessReview[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 ResourceAccessReview[src]
impl StructuralPartialEq for ResourceAccessReview[src]
Auto Trait Implementations
impl RefUnwindSafe for ResourceAccessReview
impl Send for ResourceAccessReview
impl Sync for ResourceAccessReview
impl Unpin for ResourceAccessReview
impl UnwindSafe for ResourceAccessReview
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>,