pub struct ObjectGraphNode {
pub id: Uuid,
pub workspace_id: Uuid,
pub current_version_id: Option<Uuid>,
pub title: String,
pub status: ArchiveStatus,
pub created_by: Option<Uuid>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub distance: i32,
pub incoming_count: i64,
pub outgoing_count: i64,
}Expand description
Node in an object-centered graph.
Fields§
§id: UuidObject ID.
workspace_id: UuidWorkspace ID.
current_version_id: Option<Uuid>Current object version ID.
title: StringTitle projected from the current immutable version.
status: ArchiveStatusObject lifecycle status.
created_by: Option<Uuid>User that created the object.
created_at: DateTime<Utc>Creation timestamp.
updated_at: DateTime<Utc>Last update timestamp.
distance: i32Shortest traversal distance from the root.
incoming_count: i64Visible filtered incoming explicit-relationship count.
outgoing_count: i64Visible filtered outgoing explicit-relationship count.
Trait Implementations§
Source§impl Clone for ObjectGraphNode
impl Clone for ObjectGraphNode
Source§impl Debug for ObjectGraphNode
impl Debug for ObjectGraphNode
Source§impl<'de> Deserialize<'de> for ObjectGraphNode
impl<'de> Deserialize<'de> for ObjectGraphNode
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 ObjectGraphNode
Source§impl JsonSchema for ObjectGraphNode
impl JsonSchema for ObjectGraphNode
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 ObjectGraphNode
impl PartialEq for ObjectGraphNode
Source§impl Serialize for ObjectGraphNode
impl Serialize for ObjectGraphNode
impl StructuralPartialEq for ObjectGraphNode
Auto Trait Implementations§
impl Forget for ObjectGraphNode
impl Freeze for ObjectGraphNode
impl Move for ObjectGraphNode
impl RefUnwindSafe for ObjectGraphNode
impl Send for ObjectGraphNode
impl Sync for ObjectGraphNode
impl Unpin for ObjectGraphNode
impl UnsafeUnpin for ObjectGraphNode
impl UnwindSafe for ObjectGraphNode
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