pub struct RevisionQueryMetadata {
pub revision_id: Option<RevisionId>,
pub artifact_id: Option<ArtifactId>,
pub resolved: Option<ResolvedRevision>,
}Expand description
Revision metadata attached to revision-aware query responses.
Fields§
§revision_id: Option<RevisionId>Revision handle that served the query, absent for live legacy searches.
artifact_id: Option<ArtifactId>Artifact that served the query.
resolved: Option<ResolvedRevision>Fully resolved revision identity.
Trait Implementations§
Source§impl Clone for RevisionQueryMetadata
impl Clone for RevisionQueryMetadata
Source§fn clone(&self) -> RevisionQueryMetadata
fn clone(&self) -> RevisionQueryMetadata
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 RevisionQueryMetadata
impl Debug for RevisionQueryMetadata
Source§impl<'de> Deserialize<'de> for RevisionQueryMetadata
impl<'de> Deserialize<'de> for RevisionQueryMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RevisionQueryMetadata
Source§impl PartialEq for RevisionQueryMetadata
impl PartialEq for RevisionQueryMetadata
Source§fn eq(&self, other: &RevisionQueryMetadata) -> bool
fn eq(&self, other: &RevisionQueryMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevisionQueryMetadata
impl Serialize for RevisionQueryMetadata
impl StructuralPartialEq for RevisionQueryMetadata
Auto Trait Implementations§
impl Freeze for RevisionQueryMetadata
impl RefUnwindSafe for RevisionQueryMetadata
impl Send for RevisionQueryMetadata
impl Sync for RevisionQueryMetadata
impl Unpin for RevisionQueryMetadata
impl UnsafeUnpin for RevisionQueryMetadata
impl UnwindSafe for RevisionQueryMetadata
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