pub struct CapabilityParam {
pub requested: Option<bool>,
}
Fields§
§requested: Option<bool>
Passing true requests the capability for the account, if it is not already requested.
A requested capability may not immediately become active.
Any requirements to activate the capability are returned in the requirements
arrays.
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityParam
impl Clone for CapabilityParam
Source§fn clone(&self) -> CapabilityParam
fn clone(&self) -> CapabilityParam
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 CapabilityParam
impl Debug for CapabilityParam
Source§impl Default for CapabilityParam
impl Default for CapabilityParam
Source§impl Serialize for CapabilityParam
impl Serialize for CapabilityParam
impl Copy for CapabilityParam
Auto Trait Implementations§
impl Freeze for CapabilityParam
impl RefUnwindSafe for CapabilityParam
impl Send for CapabilityParam
impl Sync for CapabilityParam
impl Unpin for CapabilityParam
impl UnwindSafe for CapabilityParam
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