pub struct AifDocument {
pub nodes: Vec<AifNode>,
pub edges: Vec<AifEdge>,
pub locutions: Vec<Value>,
pub participants: Vec<Value>,
}Expand description
A full AIF document: nodes, edges, and two fields we emit as empty arrays for round-trip fidelity with AIFdb output.
Fields§
§nodes: Vec<AifNode>The AIF node list.
edges: Vec<AifEdge>The AIF edge list.
locutions: Vec<Value>Dialogue locutions — emitted as empty, ignored on import.
participants: Vec<Value>Dialogue participants — emitted as empty, ignored on import.
Implementations§
Trait Implementations§
Source§impl Clone for AifDocument
impl Clone for AifDocument
Source§fn clone(&self) -> AifDocument
fn clone(&self) -> AifDocument
Returns a duplicate of the value. Read more
1.0.0 · 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 AifDocument
impl Debug for AifDocument
Source§impl Default for AifDocument
impl Default for AifDocument
Source§fn default() -> AifDocument
fn default() -> AifDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AifDocument
impl<'de> Deserialize<'de> for AifDocument
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 AifDocument
impl PartialEq for AifDocument
Source§impl Serialize for AifDocument
impl Serialize for AifDocument
impl Eq for AifDocument
impl StructuralPartialEq for AifDocument
Auto Trait Implementations§
impl Freeze for AifDocument
impl RefUnwindSafe for AifDocument
impl Send for AifDocument
impl Sync for AifDocument
impl Unpin for AifDocument
impl UnsafeUnpin for AifDocument
impl UnwindSafe for AifDocument
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.