pub struct DefinitionSnapshot {
pub schema: String,
pub name: String,
pub start_at: String,
pub nodes: Map<String, Value>,
pub edges: Vec<EdgeDef>,
}Fields§
§schema: String§name: String§start_at: String§nodes: Map<String, Value>Insertion order matters (BFS fallback order, display order), so the map preserves the document order of the JSON object.
edges: Vec<EdgeDef>Implementations§
Trait Implementations§
Source§impl Clone for DefinitionSnapshot
impl Clone for DefinitionSnapshot
Source§fn clone(&self) -> DefinitionSnapshot
fn clone(&self) -> DefinitionSnapshot
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 DefinitionSnapshot
impl Debug for DefinitionSnapshot
Source§impl<'de> Deserialize<'de> for DefinitionSnapshot
impl<'de> Deserialize<'de> for DefinitionSnapshot
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
Source§impl PartialEq for DefinitionSnapshot
impl PartialEq for DefinitionSnapshot
Source§impl Serialize for DefinitionSnapshot
impl Serialize for DefinitionSnapshot
impl StructuralPartialEq for DefinitionSnapshot
Auto Trait Implementations§
impl Freeze for DefinitionSnapshot
impl RefUnwindSafe for DefinitionSnapshot
impl Send for DefinitionSnapshot
impl Sync for DefinitionSnapshot
impl Unpin for DefinitionSnapshot
impl UnsafeUnpin for DefinitionSnapshot
impl UnwindSafe for DefinitionSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more