Struct dao::utils_contracts::CSPRRateProviderContract
source · pub struct CSPRRateProviderContract { /* private fields */ }
Expand description
CSPR Rate provider contract allows to read and write the current CSPR:Fiat rate. Only the owner is eligible to update the rate, but any account can read the current value.
Implementations§
Trait Implementations§
source§impl Clone for CSPRRateProviderContract
impl Clone for CSPRRateProviderContract
source§fn clone(&self) -> CSPRRateProviderContract
fn clone(&self) -> CSPRRateProviderContract
Returns a copy 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 DynamicInstance for CSPRRateProviderContract
impl DynamicInstance for CSPRRateProviderContract
source§impl Node for CSPRRateProviderContract
impl Node for CSPRRateProviderContract
source§impl OdraItem for CSPRRateProviderContract
impl OdraItem for CSPRRateProviderContract
Auto Trait Implementations§
impl RefUnwindSafe for CSPRRateProviderContract
impl Send for CSPRRateProviderContract
impl Sync for CSPRRateProviderContract
impl Unpin for CSPRRateProviderContract
impl UnwindSafe for CSPRRateProviderContract
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