pub struct OrgUnit {
pub kind: Option<String>,
pub parent_org_unit_path: Option<String>,
pub name: Option<String>,
pub etag: Option<String>,
pub org_unit_id: Option<String>,
pub parent_org_unit_id: Option<String>,
pub block_inheritance: Option<bool>,
pub org_unit_path: Option<String>,
pub description: Option<String>,
}Expand description
JSON template for Org Unit resource in Directory API.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- patch orgunits (request|response)
- get orgunits (response)
- update orgunits (request|response)
- insert orgunits (request|response)
Fields§
§kind: Option<String>Kind of resource this is.
parent_org_unit_path: Option<String>Path of parent OrgUnit
name: Option<String>Name of OrgUnit
etag: Option<String>ETag of the resource.
org_unit_id: Option<String>Id of OrgUnit
parent_org_unit_id: Option<String>Id of parent OrgUnit
block_inheritance: Option<bool>Should block inheritance
org_unit_path: Option<String>Path of OrgUnit
description: Option<String>Description of OrgUnit
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrgUnit
impl<'de> Deserialize<'de> for OrgUnit
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
impl RequestValue for OrgUnit
impl Resource for OrgUnit
impl ResponseResult for OrgUnit
Auto Trait Implementations§
impl Freeze for OrgUnit
impl RefUnwindSafe for OrgUnit
impl Send for OrgUnit
impl Sync for OrgUnit
impl Unpin for OrgUnit
impl UnwindSafe for OrgUnit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more