pub struct RemoveRole {
pub role_slug: String,
pub resource_id: Option<String>,
pub resource_external_id: Option<String>,
pub resource_type_slug: Option<String>,
}Fields§
§role_slug: StringThe slug of the role to remove.
resource_id: Option<String>The ID of the resource. Mutually exclusive with resource_external_id and resource_type_slug.
resource_external_id: Option<String>The external ID of the resource. Required with resource_type_slug. Mutually exclusive with resource_id.
resource_type_slug: Option<String>The resource type slug. Required with resource_external_id. Mutually exclusive with resource_id.
Trait Implementations§
Source§impl Clone for RemoveRole
impl Clone for RemoveRole
Source§fn clone(&self) -> RemoveRole
fn clone(&self) -> RemoveRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RemoveRole
impl Debug for RemoveRole
Source§impl<'de> Deserialize<'de> for RemoveRole
impl<'de> Deserialize<'de> for RemoveRole
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
Auto Trait Implementations§
impl Freeze for RemoveRole
impl RefUnwindSafe for RemoveRole
impl Send for RemoveRole
impl Sync for RemoveRole
impl Unpin for RemoveRole
impl UnsafeUnpin for RemoveRole
impl UnwindSafe for RemoveRole
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