pub struct StructuralProfile {
pub created_at: DateTime<Utc>,
pub document_type: DocumentType,
pub flow_type: FlowType,
pub total_nodes: usize,
pub total_tokens: usize,
pub token_distribution: TokenDistribution,
pub node_type_distribution: NodeTypeDistribution,
pub depth_distribution: DepthDistribution,
}Expand description
Quantitative measurement of graph shape — deterministic, mechanically computed from structure. Travels with graph.json. Describes the L0 tree’s statistical properties. See AmplifyNotes/09-Profile-Types.md for design rationale.
Fields§
§created_at: DateTime<Utc>§document_type: DocumentType§flow_type: FlowType§total_nodes: usize§total_tokens: usize§token_distribution: TokenDistribution§node_type_distribution: NodeTypeDistribution§depth_distribution: DepthDistributionTrait Implementations§
Source§impl Clone for StructuralProfile
impl Clone for StructuralProfile
Source§fn clone(&self) -> StructuralProfile
fn clone(&self) -> StructuralProfile
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 StructuralProfile
impl Debug for StructuralProfile
Source§impl Default for StructuralProfile
impl Default for StructuralProfile
Source§fn default() -> StructuralProfile
fn default() -> StructuralProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StructuralProfile
impl<'de> Deserialize<'de> for StructuralProfile
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StructuralProfile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StructuralProfile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for StructuralProfile
impl Serialize for StructuralProfile
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for StructuralProfile
impl RefUnwindSafe for StructuralProfile
impl Send for StructuralProfile
impl Sync for StructuralProfile
impl Unpin for StructuralProfile
impl UnsafeUnpin for StructuralProfile
impl UnwindSafe for StructuralProfile
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