pub struct ResolvedField {
pub field_name: String,
pub raw_name: Option<String>,
pub canonical_name: Option<String>,
pub field_type: String,
pub base_type: BaseType,
pub integer_kind: Option<IntegerKind>,
pub is_optional: bool,
pub is_array: bool,
}Expand description
A resolved field within a complex type
Fields§
§field_name: String§raw_name: Option<String>§canonical_name: Option<String>§field_type: String§base_type: BaseType§integer_kind: Option<IntegerKind>§is_optional: bool§is_array: boolImplementations§
Source§impl ResolvedField
impl ResolvedField
pub fn raw_field_name(&self) -> &str
pub fn canonical_field_name(&self) -> String
pub fn effective_integer_kind(&self) -> Option<IntegerKind>
Trait Implementations§
Source§impl Clone for ResolvedField
impl Clone for ResolvedField
Source§fn clone(&self) -> ResolvedField
fn clone(&self) -> ResolvedField
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 ResolvedField
impl Debug for ResolvedField
Source§impl<'de> Deserialize<'de> for ResolvedField
impl<'de> Deserialize<'de> for ResolvedField
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
Auto Trait Implementations§
impl Freeze for ResolvedField
impl RefUnwindSafe for ResolvedField
impl Send for ResolvedField
impl Sync for ResolvedField
impl Unpin for ResolvedField
impl UnsafeUnpin for ResolvedField
impl UnwindSafe for ResolvedField
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