pub struct WelcomeFacts<'a> {
pub city: Option<&'a Address>,
pub head: Option<Seq>,
pub epoch: Option<B3Hash>,
}Expand description
What a welcome tells a peer about the city it reached: which city it is, the seq of the last record the city has broadcast, and which ledger it is. One value because the two travel together into every welcome.
Fields§
§city: Option<&'a Address>§head: Option<Seq>§epoch: Option<B3Hash>Trait Implementations§
Source§impl<'a> Clone for WelcomeFacts<'a>
impl<'a> Clone for WelcomeFacts<'a>
impl<'a> Copy for WelcomeFacts<'a>
Source§impl<'a> Debug for WelcomeFacts<'a>
impl<'a> Debug for WelcomeFacts<'a>
Source§impl<'a> Default for WelcomeFacts<'a>
impl<'a> Default for WelcomeFacts<'a>
impl<'a> Eq for WelcomeFacts<'a>
Source§impl<'a> PartialEq for WelcomeFacts<'a>
impl<'a> PartialEq for WelcomeFacts<'a>
impl<'a> StructuralPartialEq for WelcomeFacts<'a>
Auto Trait Implementations§
impl<'a> Freeze for WelcomeFacts<'a>
impl<'a> RefUnwindSafe for WelcomeFacts<'a>
impl<'a> Send for WelcomeFacts<'a>
impl<'a> Sync for WelcomeFacts<'a>
impl<'a> Unpin for WelcomeFacts<'a>
impl<'a> UnsafeUnpin for WelcomeFacts<'a>
impl<'a> UnwindSafe for WelcomeFacts<'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