pub struct MercuryClient {
pub base_url: String,
pub key: MercuryAccessKey,
}
Fields§
§base_url: String
§key: MercuryAccessKey
Implementations§
Source§impl MercuryClient
impl MercuryClient
pub fn new(base_url: String, key: MercuryAccessKey) -> Self
pub fn get_auth(&self) -> String
pub async fn new_table( &self, table: Table, force: bool, ) -> Result<(), Box<dyn Error>>
pub async fn deploy( &self, wasm: String, project_name: Option<String>, contracts: Option<Vec<String>>, ) -> Result<(), Box<dyn Error>>
pub async fn catchup_standard( &self, contracts: Vec<String>, project_name: Option<String>, ) -> Result<(), Box<dyn Error>>
pub async fn retroshades_catchup( &self, fnames: Option<Vec<String>>, start: Option<i64>, project_name: Option<String>, ) -> Result<(), Box<dyn Error>>
pub async fn catchup_scoped( &self, contracts: Vec<String>, topic1s: Vec<String>, topic2s: Vec<String>, topic3s: Vec<String>, topic4s: Vec<String>, start: i64, project_name: Option<String>, ) -> Result<(), Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for MercuryClient
impl RefUnwindSafe for MercuryClient
impl Send for MercuryClient
impl Sync for MercuryClient
impl Unpin for MercuryClient
impl UnwindSafe for MercuryClient
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