pub struct SessionEventsSubscribe<'a> { /* private fields */ }Expand description
Builder for Client::session_events_subscribe
Implementations§
Source§impl<'a> SessionEventsSubscribe<'a>
impl<'a> SessionEventsSubscribe<'a>
pub fn new(client: &'a Client) -> Self
pub fn chain_id<V>(self, value: V) -> Selfwhere
V: TryInto<NonZeroU64>,
pub fn user_address<V>(self, value: V) -> Selfwhere
V: TryInto<WalletAddress>,
Sourcepub async fn send(self) -> Result<ResponseValue<ByteStream>, Error<()>>
pub async fn send(self) -> Result<ResponseValue<ByteStream>, Error<()>>
Sends a GET request to /api/session/events
Trait Implementations§
Source§impl<'a> Clone for SessionEventsSubscribe<'a>
impl<'a> Clone for SessionEventsSubscribe<'a>
Source§fn clone(&self) -> SessionEventsSubscribe<'a>
fn clone(&self) -> SessionEventsSubscribe<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<'a> !RefUnwindSafe for SessionEventsSubscribe<'a>
impl<'a> !UnwindSafe for SessionEventsSubscribe<'a>
impl<'a> Freeze for SessionEventsSubscribe<'a>
impl<'a> Send for SessionEventsSubscribe<'a>
impl<'a> Sync for SessionEventsSubscribe<'a>
impl<'a> Unpin for SessionEventsSubscribe<'a>
impl<'a> UnsafeUnpin for SessionEventsSubscribe<'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