[−][src]Struct openshift_openapi::api::authorization::v1::LocalResourceAccessReview
LocalResourceAccessReview is a means to request a list of which users and groups are authorized to perform the action specified by spec in a particular namespace
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 LocalResourceAccessReview[src]
pub fn create_namespaced_local_resource_access_review(
namespace: &str,
body: &LocalResourceAccessReview,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>[src]
namespace: &str,
body: &LocalResourceAccessReview,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
create a LocalResourceAccessReview
Use the returned k8s_openapi::ResponseBody<k8s_openapi::CreateResponse<Self>> constructor, or k8s_openapi::CreateResponse<Self> directly, to parse the HTTP response.
Arguments
-
namespaceobject name and auth scope, such as for teams and projects
-
body -
optionalOptional parameters. Use
Default::default()to not pass any.
Trait Implementations
impl Clone for LocalResourceAccessReview[src]
fn clone(&self) -> LocalResourceAccessReview[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for LocalResourceAccessReview[src]
impl Default for LocalResourceAccessReview[src]
impl<'de> Deserialize<'de> for LocalResourceAccessReview[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl PartialEq<LocalResourceAccessReview> for LocalResourceAccessReview[src]
fn eq(&self, other: &LocalResourceAccessReview) -> bool[src]
fn ne(&self, other: &LocalResourceAccessReview) -> bool[src]
impl Resource for LocalResourceAccessReview[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 LocalResourceAccessReview[src]
impl StructuralPartialEq for LocalResourceAccessReview[src]
Auto Trait Implementations
impl RefUnwindSafe for LocalResourceAccessReview
impl Send for LocalResourceAccessReview
impl Sync for LocalResourceAccessReview
impl Unpin for LocalResourceAccessReview
impl UnwindSafe for LocalResourceAccessReview
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>,