#[non_exhaustive]pub struct GetRolesOptions {
pub retry_strategy: Option<Arc<dyn RetryStrategy>>,
}Expand description
Options for listing all available roles.
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.retry_strategy: Option<Arc<dyn RetryStrategy>>Override the default retry strategy for this operation.
Implementations§
Source§impl GetRolesOptions
impl GetRolesOptions
Sourcepub fn retry_strategy(self, retry_strategy: Arc<dyn RetryStrategy>) -> Self
pub fn retry_strategy(self, retry_strategy: Arc<dyn RetryStrategy>) -> Self
Sets a custom retry strategy for this operation.
Trait Implementations§
Source§impl Clone for GetRolesOptions
impl Clone for GetRolesOptions
Source§fn clone(&self) -> GetRolesOptions
fn clone(&self) -> GetRolesOptions
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 GetRolesOptions
impl Debug for GetRolesOptions
Source§impl Default for GetRolesOptions
impl Default for GetRolesOptions
Source§fn default() -> GetRolesOptions
fn default() -> GetRolesOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetRolesOptions
impl !RefUnwindSafe for GetRolesOptions
impl Send for GetRolesOptions
impl Sync for GetRolesOptions
impl Unpin for GetRolesOptions
impl UnsafeUnpin for GetRolesOptions
impl !UnwindSafe for GetRolesOptions
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