pub struct SchemaSourceObservation { /* private fields */ }Expand description
One point-in-time source-path observation.
Implementations§
Source§impl SchemaSourceObservation
impl SchemaSourceObservation
Sourcepub const fn new(
identity: SchemaSourceIdentity,
revision: SchemaSourceRevision,
len: u64,
kind: SchemaSourceKind,
) -> Self
pub const fn new( identity: SchemaSourceIdentity, revision: SchemaSourceRevision, len: u64, kind: SchemaSourceKind, ) -> Self
Creates one observation supplied by an injected source service.
Sourcepub const fn identity(&self) -> &SchemaSourceIdentity
pub const fn identity(&self) -> &SchemaSourceIdentity
Returns the service-defined stable identity.
Sourcepub const fn revision(&self) -> &SchemaSourceRevision
pub const fn revision(&self) -> &SchemaSourceRevision
Returns the service-defined revision token.
Sourcepub const fn kind(&self) -> SchemaSourceKind
pub const fn kind(&self) -> SchemaSourceKind
Returns the observed object kind.
Trait Implementations§
Source§impl Clone for SchemaSourceObservation
impl Clone for SchemaSourceObservation
Source§impl Debug for SchemaSourceObservation
impl Debug for SchemaSourceObservation
impl Eq for SchemaSourceObservation
Source§impl PartialEq for SchemaSourceObservation
impl PartialEq for SchemaSourceObservation
impl StructuralPartialEq for SchemaSourceObservation
Auto Trait Implementations§
impl Freeze for SchemaSourceObservation
impl RefUnwindSafe for SchemaSourceObservation
impl Send for SchemaSourceObservation
impl Sync for SchemaSourceObservation
impl Unpin for SchemaSourceObservation
impl UnsafeUnpin for SchemaSourceObservation
impl UnwindSafe for SchemaSourceObservation
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