pub struct Status<'a> { /* private fields */ }Expand description
Builder for Client::status
Implementations§
Source§impl<'a> Status<'a>
impl<'a> Status<'a>
pub fn new(client: &'a Client) -> Self
pub fn channel<V>(self, value: V) -> Selfwhere
V: TryInto<ChannelName>,
pub fn account_id<V>(self, value: V) -> Self
pub fn agent_wallet<V>(self, value: V) -> Self
pub fn hai_id<V>(self, value: V) -> Self
pub fn scope<V>(self, value: V) -> Selfwhere
V: TryInto<ChannelScope>,
pub fn thread_id<V>(self, value: V) -> Self
pub fn user_address<V>(self, value: V) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<ChannelStatusResponse>, Error<()>>
pub async fn send( self, ) -> Result<ResponseValue<ChannelStatusResponse>, Error<()>>
Sends a GET request to /channels/{channel}/status
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Status<'a>
impl<'a> !UnwindSafe for Status<'a>
impl<'a> Freeze for Status<'a>
impl<'a> Send for Status<'a>
impl<'a> Sync for Status<'a>
impl<'a> Unpin for Status<'a>
impl<'a> UnsafeUnpin for Status<'a>
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