pub struct RuntimeClient { /* private fields */ }
Implementations§
Source§impl RuntimeClient
impl RuntimeClient
pub fn new(info: Arc<ClientInfo>) -> Self
pub async fn info(&self) -> Result<InfoRuntimeInfo>
pub async fn quit(&self) -> Result<ResponseData>
pub async fn add_trusted_agents( &self, agents: Vec<String>, ) -> Result<ResponseData>
pub async fn delete_trusted_agents( &self, agents: Vec<String>, ) -> Result<ResponseData>
pub async fn trusted_agents(&self) -> Result<Vec<String>>
pub async fn link_language_templates(&self) -> Result<Vec<String>>
pub async fn add_link_language_templates( &self, addresses: Vec<String>, ) -> Result<ResponseData>
pub async fn remove_link_language_templates( &self, addresses: Vec<String>, ) -> Result<ResponseData>
pub async fn friends(&self) -> Result<Vec<String>>
pub async fn add_friends(&self, friends: Vec<String>) -> Result<ResponseData>
pub async fn remove_friends(&self, friends: Vec<String>) -> Result<ResponseData>
pub async fn hc_agent_infos(&self) -> Result<String>
pub async fn hc_add_agent_infos( &self, agent_infos: String, ) -> Result<ResponseData>
pub async fn verify_string_signed_by_did( &self, did: String, did_signing_key_id: String, data: String, signed_data: String, ) -> Result<bool>
pub async fn set_status(&self, status: PerspectiveInput) -> Result<()>
pub async fn friend_status(&self, did: String) -> Result<ResponseData>
pub async fn friend_send_message( &self, did: String, message: PerspectiveInput, ) -> Result<ResponseData>
pub async fn message_inbox( &self, filter: Option<String>, ) -> Result<Vec<PerspectiveExpression>>
pub async fn message_outbox( &self, filter: Option<String>, ) -> Result<Vec<SentPerspectiveMessage>>
Auto Trait Implementations§
impl Freeze for RuntimeClient
impl RefUnwindSafe for RuntimeClient
impl Send for RuntimeClient
impl Sync for RuntimeClient
impl Unpin for RuntimeClient
impl UnwindSafe for RuntimeClient
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