pub struct HttpServiceAdvertisements {
pub set: RefAdvertisementSet,
pub handshake: Option<TransportHandshake>,
}Expand description
Result of smart-HTTP service discovery: parsed ref advertisements plus the protocol v2 handshake when the server negotiated v2 on the info/refs exchange.
Fields§
§set: RefAdvertisementSet§handshake: Option<TransportHandshake>Trait Implementations§
Source§impl Clone for HttpServiceAdvertisements
impl Clone for HttpServiceAdvertisements
Source§fn clone(&self) -> HttpServiceAdvertisements
fn clone(&self) -> HttpServiceAdvertisements
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 moreSource§impl Debug for HttpServiceAdvertisements
impl Debug for HttpServiceAdvertisements
impl Eq for HttpServiceAdvertisements
Source§impl PartialEq for HttpServiceAdvertisements
impl PartialEq for HttpServiceAdvertisements
Source§fn eq(&self, other: &HttpServiceAdvertisements) -> bool
fn eq(&self, other: &HttpServiceAdvertisements) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HttpServiceAdvertisements
Auto Trait Implementations§
impl Freeze for HttpServiceAdvertisements
impl RefUnwindSafe for HttpServiceAdvertisements
impl Send for HttpServiceAdvertisements
impl Sync for HttpServiceAdvertisements
impl Unpin for HttpServiceAdvertisements
impl UnsafeUnpin for HttpServiceAdvertisements
impl UnwindSafe for HttpServiceAdvertisements
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