pub struct DataFieldSource {
pub data_type: DataTypeSource,
pub nullable: bool,
pub computed: Option<String>,
}Expand description
Typed input field declaration.
Fields§
§data_type: DataTypeSourceRequired type.
nullable: boolWhether null is accepted.
computed: Option<String>Optional deterministic computed expression.
Trait Implementations§
Source§impl Clone for DataFieldSource
impl Clone for DataFieldSource
Source§fn clone(&self) -> DataFieldSource
fn clone(&self) -> DataFieldSource
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 DataFieldSource
impl Debug for DataFieldSource
Source§impl<'de> Deserialize<'de> for DataFieldSource
impl<'de> Deserialize<'de> for DataFieldSource
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 DataFieldSource
impl PartialEq for DataFieldSource
Source§impl Serialize for DataFieldSource
impl Serialize for DataFieldSource
impl StructuralPartialEq for DataFieldSource
Auto Trait Implementations§
impl Freeze for DataFieldSource
impl RefUnwindSafe for DataFieldSource
impl Send for DataFieldSource
impl Sync for DataFieldSource
impl Unpin for DataFieldSource
impl UnsafeUnpin for DataFieldSource
impl UnwindSafe for DataFieldSource
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.