pub struct SemanticStruct {
pub name: String,
pub fields: Vec<SemanticField>,
}Expand description
One resolved user-defined structure.
Fields§
§name: StringStructure name.
fields: Vec<SemanticField>Fields in declaration order.
Trait Implementations§
Source§impl Clone for SemanticStruct
impl Clone for SemanticStruct
Source§fn clone(&self) -> SemanticStruct
fn clone(&self) -> SemanticStruct
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 SemanticStruct
impl Debug for SemanticStruct
Source§impl<'de> Deserialize<'de> for SemanticStruct
impl<'de> Deserialize<'de> for SemanticStruct
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 SemanticStruct
impl PartialEq for SemanticStruct
Source§impl Serialize for SemanticStruct
impl Serialize for SemanticStruct
impl Eq for SemanticStruct
impl StructuralPartialEq for SemanticStruct
Auto Trait Implementations§
impl Freeze for SemanticStruct
impl RefUnwindSafe for SemanticStruct
impl Send for SemanticStruct
impl Sync for SemanticStruct
impl Unpin for SemanticStruct
impl UnsafeUnpin for SemanticStruct
impl UnwindSafe for SemanticStruct
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.