pub struct UserManagementFeature {
pub supported: bool,
pub max_rights_per_user: i32,
pub max_users_page_size: i32,
}
Fields§
§supported: bool
Whether the Ledger API server provides the user management service.
max_rights_per_user: i32
The maximum number of rights that can be assigned to a single user. Servers MUST support at least 100 rights per user. A value of 0 means that the server enforces no rights per user limit.
max_users_page_size: i32
The maximum number of users the server can return in a single response (page). Servers MUST support at least a 100 users per page. A value of 0 means that the server enforces no page size limit.
Implementations§
Trait Implementations§
Source§impl Clone for UserManagementFeature
impl Clone for UserManagementFeature
Source§fn clone(&self) -> UserManagementFeature
fn clone(&self) -> UserManagementFeature
Returns a duplicate 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 UserManagementFeature
impl Debug for UserManagementFeature
Source§impl Default for UserManagementFeature
impl Default for UserManagementFeature
Source§fn default() -> UserManagementFeature
fn default() -> UserManagementFeature
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserManagementFeature
impl<'de> Deserialize<'de> for UserManagementFeature
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 PartialEq for UserManagementFeature
impl PartialEq for UserManagementFeature
Source§impl Serialize for UserManagementFeature
impl Serialize for UserManagementFeature
impl StructuralPartialEq for UserManagementFeature
Auto Trait Implementations§
impl Freeze for UserManagementFeature
impl RefUnwindSafe for UserManagementFeature
impl Send for UserManagementFeature
impl Sync for UserManagementFeature
impl Unpin for UserManagementFeature
impl UnwindSafe for UserManagementFeature
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