pub struct SemanticField {
pub id: SymbolId,
pub name: String,
pub serde_name: String,
pub description: String,
pub deprecation_note: Option<String>,
pub type_ref: ResolvedTypeReference,
pub required: bool,
pub flattened: bool,
pub transform_callback: String,
}Fields§
§id: SymbolId§name: String§serde_name: String§description: String§deprecation_note: Option<String>§type_ref: ResolvedTypeReferenceResolved type reference
required: boolField properties
flattened: bool§transform_callback: StringTransform callback for custom processing
Trait Implementations§
Source§impl Clone for SemanticField
impl Clone for SemanticField
Source§fn clone(&self) -> SemanticField
fn clone(&self) -> SemanticField
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 SemanticField
impl Debug for SemanticField
Source§impl PartialEq for SemanticField
impl PartialEq for SemanticField
impl Eq for SemanticField
impl StructuralPartialEq for SemanticField
Auto Trait Implementations§
impl Freeze for SemanticField
impl RefUnwindSafe for SemanticField
impl Send for SemanticField
impl Sync for SemanticField
impl Unpin for SemanticField
impl UnsafeUnpin for SemanticField
impl UnwindSafe for SemanticField
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