pub struct Record {
pub version: u8,
pub authority: Checkpoint,
pub directory: Option<Snapshot>,
pub event: Event,
}Fields§
§version: u8§directory: Option<Snapshot>§event: EventTrait Implementations§
Source§impl<'de> Deserialize<'de> for Record
impl<'de> Deserialize<'de> for Record
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Record
impl Freeze for Recordwhere
*const u8 is !null: Freeze,
PhantomData<Branch>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SignedOwnerTransition>: Freeze,
PhantomData<Widget>: Freeze,
*const LeafNode<TransportAddr, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(TransportAddr, SetValZST)>>: Freeze,
PhantomData<RelayUrl>: Freeze,
PhantomData<HelperRegistration>: Freeze,
*const Envelope is !null: Freeze,
PhantomData<Envelope>: Freeze,
*const Envelope is !null: Freeze,
PhantomData<Envelope>: Freeze,
*const Envelope is !null: Freeze,
PhantomData<Envelope>: Freeze,
*const ConfigurationEdit is !null: Freeze,
PhantomData<ConfigurationEdit>: Freeze,
*const Registration is !null: Freeze,
PhantomData<Registration>: Freeze,
PhantomData<FilePart>: Freeze,
PhantomData<FileDescriptor>: Freeze,
PhantomData<PrivateAttachment>: Freeze,
impl Move for Record
impl RefUnwindSafe for Record
impl Send for Recordwhere
RawVecInner: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, TransportAddr, SetValZST, LeafOrInternal>: Send,
BoxRaw<(TransportAddr, SetValZST)>: Send,
Arc<Url>: Send,
BoxRaw<Envelope>: Send,
BoxRaw<Envelope>: Send,
BoxRaw<Envelope>: Send,
BoxRaw<ConfigurationEdit>: Send,
BoxRaw<Registration>: Send,
impl Sync for Recordwhere
RawVecInner: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, TransportAddr, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(TransportAddr, SetValZST)>: Sync,
Arc<Url>: Sync,
BoxRaw<Envelope>: Sync,
BoxRaw<Envelope>: Sync,
BoxRaw<Envelope>: Sync,
BoxRaw<ConfigurationEdit>: Sync,
BoxRaw<Registration>: Sync,
impl Unpin for Recordwhere
*const u8 is !null: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<TransportAddr, SetValZST> is !null: Unpin,
Box<(TransportAddr, SetValZST)>: Unpin,
Arc<Url>: Unpin,
Box<Envelope>: Unpin,
Box<Envelope>: Unpin,
Box<Envelope>: Unpin,
Box<ConfigurationEdit>: Unpin,
Box<Registration>: Unpin,
impl UnsafeUnpin for Recordwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Branch>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SignedOwnerTransition>: UnsafeUnpin,
PhantomData<Widget>: UnsafeUnpin,
*const LeafNode<TransportAddr, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(TransportAddr, SetValZST)>>: UnsafeUnpin,
PhantomData<RelayUrl>: UnsafeUnpin,
PhantomData<HelperRegistration>: UnsafeUnpin,
*const Envelope is !null: UnsafeUnpin,
PhantomData<Envelope>: UnsafeUnpin,
*const Envelope is !null: UnsafeUnpin,
PhantomData<Envelope>: UnsafeUnpin,
*const Envelope is !null: UnsafeUnpin,
PhantomData<Envelope>: UnsafeUnpin,
*const ConfigurationEdit is !null: UnsafeUnpin,
PhantomData<ConfigurationEdit>: UnsafeUnpin,
*const Registration is !null: UnsafeUnpin,
PhantomData<Registration>: UnsafeUnpin,
PhantomData<FilePart>: UnsafeUnpin,
PhantomData<FileDescriptor>: UnsafeUnpin,
PhantomData<PrivateAttachment>: UnsafeUnpin,
impl UnwindSafe for Recordwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<TransportAddr, SetValZST>: UnwindSafe,
Arc<Url>: UnwindSafe,
BoxRaw<Envelope>: UnwindSafe,
BoxRaw<Envelope>: UnwindSafe,
BoxRaw<Envelope>: UnwindSafe,
BoxRaw<ConfigurationEdit>: UnwindSafe,
BoxRaw<Registration>: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more