pub struct ValidationMetadata {
pub id: ObjectId,
pub info: ObjectInfo,
/* private fields */
}Expand description
Cached identity and size of a validated object, in enumeration order.
Fields§
§id: ObjectId§info: ObjectInfoImplementations§
Source§impl ValidationMetadata
impl ValidationMetadata
Sourcepub fn is_shallow(&self) -> bool
pub fn is_shallow(&self) -> bool
A reached commit at a requested history boundary (including root commits).
Sourcepub fn is_unshallow(&self) -> bool
pub fn is_unshallow(&self) -> bool
A client’s former boundary reached inside the requested history.
Trait Implementations§
Source§impl Clone for ValidationMetadata
impl Clone for ValidationMetadata
Source§fn clone(&self) -> ValidationMetadata
fn clone(&self) -> ValidationMetadata
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 moreimpl Copy for ValidationMetadata
Auto Trait Implementations§
impl Freeze for ValidationMetadata
impl RefUnwindSafe for ValidationMetadata
impl Send for ValidationMetadata
impl Sync for ValidationMetadata
impl Unpin for ValidationMetadata
impl UnsafeUnpin for ValidationMetadata
impl UnwindSafe for ValidationMetadata
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