pub struct Graph {
pub schema_version: u32,
pub built_at_head: Option<String>,
pub defs: Vec<Def>,
pub edges: Vec<Edge>,
pub stats: Stats,
pub names: Vec<GraphName>,
pub units: Vec<GraphUnit>,
}Expand description
Represents Graph.
Fields§
§schema_version: u32The schema version value.
built_at_head: Option<String>The built at head value.
defs: Vec<Def>The defs value.
edges: Vec<Edge>The edges value.
stats: StatsThe stats value.
names: Vec<GraphName>Appended LAST, after stats, and omitted when empty: the
house rule for every added field, and what keeps a graph built over a
set that declares no name byte-identical to what it was.
units: Vec<GraphUnit>The repo’s .csproj projects, sorted by id – appended LAST, after
names, and omitted entirely when the repo declares none. A tree with
no .csproj therefore serializes exactly as it did before the project
model existed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Graph
impl<'de> Deserialize<'de> for Graph
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 StructuralPartialEq for Graph
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnsafeUnpin for Graph
impl UnwindSafe for Graph
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