Struct ssb_rpc::ssb::WhoamiResponse
[−]
[src]
pub struct WhoamiResponse { /* fields omitted */ }
The response to a Whoami
request.
Methods
impl WhoamiResponse
[src]
pub fn feed_id(&self) -> FeedId
[src]
Get the FeedId
of the current user.
pub fn feed_id_ref(&self) -> &FeedId
[src]
Get a reference to the FeedId
of the current user.
Trait Implementations
impl Debug for WhoamiResponse
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for WhoamiResponse
[src]
impl Clone for WhoamiResponse
[src]
fn clone(&self) -> WhoamiResponse
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for WhoamiResponse
[src]
impl PartialEq for WhoamiResponse
[src]
fn eq(&self, __arg_0: &WhoamiResponse) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &WhoamiResponse) -> bool
[src]
This method tests for !=
.