pub struct ActivityRequestorApi { /* private fields */ }Implementations§
Source§impl ActivityRequestorApi
impl ActivityRequestorApi
pub fn control(&self) -> &ActivityRequestorControlApi
pub fn state(&self) -> &ActivityRequestorStateApi
Sourcepub async fn get_agreement(&self, activity_id: &str) -> Result<String>
pub async fn get_agreement(&self, activity_id: &str) -> Result<String>
Get agreement corresponding to the activity
Trait Implementations§
Source§impl Clone for ActivityRequestorApi
impl Clone for ActivityRequestorApi
Source§fn clone(&self) -> ActivityRequestorApi
fn clone(&self) -> ActivityRequestorApi
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 WebInterface for ActivityRequestorApi
impl WebInterface for ActivityRequestorApi
const API_URL_ENV_VAR: &'static str = crate::activity::ACTIVITY_URL_ENV_VAR
const API_SUFFIX: &'static str = ACTIVITY_API_PATH
fn from_client(client: WebClient) -> Self
fn rebase_service_url(base_url: Rc<Url>) -> Result<Rc<Url>>
Auto Trait Implementations§
impl Freeze for ActivityRequestorApi
impl !RefUnwindSafe for ActivityRequestorApi
impl !Send for ActivityRequestorApi
impl !Sync for ActivityRequestorApi
impl Unpin for ActivityRequestorApi
impl !UnwindSafe for ActivityRequestorApi
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