Struct google_servicecontrol1::api::ResourceInfo
source · pub struct ResourceInfo {
pub permission: Option<String>,
pub resource_container: Option<String>,
pub resource_location: Option<String>,
pub resource_name: Option<String>,
}
Expand description
Describes a resource associated with this operation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§permission: Option<String>
The resource permission required for this request.
resource_container: Option<String>
The identifier of the parent of this resource instance. Must be in one of the following formats: - projects/
- folders/
- organizations/
resource_location: Option<String>
The location of the resource. If not empty, the resource will be checked against location policy. The value must be a valid zone, region or multiregion. For example: “europe-west4” or “northamerica-northeast1-a”
resource_name: Option<String>
Name of the resource. This is used for auditing purposes.
Trait Implementations§
source§impl Clone for ResourceInfo
impl Clone for ResourceInfo
source§fn clone(&self) -> ResourceInfo
fn clone(&self) -> ResourceInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResourceInfo
impl Debug for ResourceInfo
source§impl Default for ResourceInfo
impl Default for ResourceInfo
source§fn default() -> ResourceInfo
fn default() -> ResourceInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceInfo
impl<'de> Deserialize<'de> for ResourceInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ResourceInfo
impl Serialize for ResourceInfo
impl Part for ResourceInfo
Auto Trait Implementations§
impl RefUnwindSafe for ResourceInfo
impl Send for ResourceInfo
impl Sync for ResourceInfo
impl Unpin for ResourceInfo
impl UnwindSafe for ResourceInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more