#[non_exhaustive]pub struct GetByRoleOptions {
pub checked: Option<bool>,
pub disabled: Option<bool>,
pub selected: Option<bool>,
pub expanded: Option<bool>,
pub include_hidden: Option<bool>,
pub level: Option<u32>,
pub name: Option<String>,
pub description: Option<String>,
pub exact: Option<bool>,
pub pressed: Option<bool>,
}Expand description
Options for get_by_role.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.checked: Option<bool>§disabled: Option<bool>§selected: Option<bool>§expanded: Option<bool>§level: Option<u32>§name: Option<String>§description: Option<String>§exact: Option<bool>§pressed: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for GetByRoleOptions
impl Clone for GetByRoleOptions
Source§fn clone(&self) -> GetByRoleOptions
fn clone(&self) -> GetByRoleOptions
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 GetByRoleOptions
impl Debug for GetByRoleOptions
Source§impl Default for GetByRoleOptions
impl Default for GetByRoleOptions
Source§fn default() -> GetByRoleOptions
fn default() -> GetByRoleOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetByRoleOptions
impl RefUnwindSafe for GetByRoleOptions
impl Send for GetByRoleOptions
impl Sync for GetByRoleOptions
impl Unpin for GetByRoleOptions
impl UnsafeUnpin for GetByRoleOptions
impl UnwindSafe for GetByRoleOptions
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