pub struct WorkspaceRevision {
pub id: Uuid,
pub revision: u64,
}Expand description
The exact workspace/content revision inspected by an evaluator.
Fields§
§id: UuidStable identity of the workspace/content subject.
revision: u64Monotonic content revision (for example a commit plus dirty-tree digest revision).
Trait Implementations§
Source§impl Clone for WorkspaceRevision
impl Clone for WorkspaceRevision
Source§fn clone(&self) -> WorkspaceRevision
fn clone(&self) -> WorkspaceRevision
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 WorkspaceRevision
Source§impl Debug for WorkspaceRevision
impl Debug for WorkspaceRevision
Source§impl<'de> Deserialize<'de> for WorkspaceRevision
impl<'de> Deserialize<'de> for WorkspaceRevision
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 WorkspaceRevision
Source§impl JsonSchema for WorkspaceRevision
impl JsonSchema for WorkspaceRevision
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for WorkspaceRevision
impl PartialEq for WorkspaceRevision
Source§impl Serialize for WorkspaceRevision
impl Serialize for WorkspaceRevision
impl StructuralPartialEq for WorkspaceRevision
Auto Trait Implementations§
impl Freeze for WorkspaceRevision
impl RefUnwindSafe for WorkspaceRevision
impl Send for WorkspaceRevision
impl Sync for WorkspaceRevision
impl Unpin for WorkspaceRevision
impl UnsafeUnpin for WorkspaceRevision
impl UnwindSafe for WorkspaceRevision
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