Struct dao::modules::repository::RepositoryRef
source · pub struct RepositoryRef { /* private fields */ }
Expand description
Reference to the Repository contract instance.
Implementations§
source§impl RepositoryRef
impl RepositoryRef
source§impl RepositoryRef
impl RepositoryRef
pub fn update_at( &mut self, key: String, value: Bytes, activation_time: Option<u64> )
pub fn get(&self, key: String) -> Option<Bytes>
pub fn get_full_value(&self, key: String) -> Option<Record>
pub fn init( &mut self, fiat_conversion: Address, bid_escrow_wallet: Address, voting_ids: Address )
Trait Implementations§
source§impl Clone for RepositoryRef
impl Clone for RepositoryRef
source§fn clone(&self) -> RepositoryRef
fn clone(&self) -> RepositoryRef
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 moreAuto Trait Implementations§
impl RefUnwindSafe for RepositoryRef
impl Send for RepositoryRef
impl Sync for RepositoryRef
impl Unpin for RepositoryRef
impl UnwindSafe for RepositoryRef
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