pub struct PutParams {
pub delete: Option<bool>,
pub groups: Option<String>,
pub path: String,
pub propagate: Option<bool>,
pub roles: String,
pub tokens: Option<String>,
pub users: Option<String>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§delete: Option<bool>
Remove permissions (instead of adding it).
groups: Option<String>
List of groups.
path: String
Access control path
propagate: Option<bool>
Allow to propagate (inherit) permissions.
roles: String
List of roles.
tokens: Option<String>
List of API tokens.
users: Option<String>
List of users.
additional_properties: HashMap<String, Value>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PutParams
impl<'de> Deserialize<'de> for PutParams
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 PutParams
impl RefUnwindSafe for PutParams
impl Send for PutParams
impl Sync for PutParams
impl Unpin for PutParams
impl UnwindSafe for PutParams
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