pub struct Peers {
pub q: PeersQuery,
}
Expand description
§/api/v2/log/peers
Fields§
§q: PeersQuery
Trait Implementations§
Source§impl Endpoint for Peers
impl Endpoint for Peers
Source§type Query = PeersQuery
type Query = PeersQuery
define type of query, form and response
type Form = ()
type Response = Vec<PeersResponseItem>
Source§fn relative_path(&self) -> Cow<'_, str>
fn relative_path(&self) -> Cow<'_, str>
The endpoint relative path. Must start with a
/
Source§fn check_status(&self, status: StatusCode) -> Option<ClientError>
fn check_status(&self, status: StatusCode) -> Option<ClientError>
Check the status code
Auto Trait Implementations§
impl Freeze for Peers
impl RefUnwindSafe for Peers
impl Send for Peers
impl Sync for Peers
impl Unpin for Peers
impl UnwindSafe for Peers
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