pub struct CodegenTargetConfig {Show 17 fields
pub enabled: Option<bool>,
pub output: Option<String>,
pub backend: Option<String>,
pub package: Option<String>,
pub namespace: Option<String>,
pub strict_facets: Option<bool>,
pub slots: Option<bool>,
pub kw_only: Option<bool>,
pub zero_copy: Option<bool>,
pub codecs: Option<bool>,
pub standard: Option<String>,
pub derive_traits: Option<Vec<String>>,
pub box_cycles: Option<bool>,
pub modules: Option<bool>,
pub mode: Option<String>,
pub serializer: Option<String>,
pub zod: Option<bool>,
}Fields§
§enabled: Option<bool>§output: Option<String>§backend: Option<String>§package: Option<String>§namespace: Option<String>§strict_facets: Option<bool>§slots: Option<bool>§kw_only: Option<bool>§zero_copy: Option<bool>§codecs: Option<bool>§standard: Option<String>§derive_traits: Option<Vec<String>>§box_cycles: Option<bool>§modules: Option<bool>§mode: Option<String>§serializer: Option<String>§zod: Option<bool>Trait Implementations§
Source§impl Clone for CodegenTargetConfig
impl Clone for CodegenTargetConfig
Source§fn clone(&self) -> CodegenTargetConfig
fn clone(&self) -> CodegenTargetConfig
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 CodegenTargetConfig
impl Debug for CodegenTargetConfig
Source§impl Default for CodegenTargetConfig
impl Default for CodegenTargetConfig
Source§fn default() -> CodegenTargetConfig
fn default() -> CodegenTargetConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodegenTargetConfig
impl<'de> Deserialize<'de> for CodegenTargetConfig
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
impl Eq for CodegenTargetConfig
Source§impl PartialEq for CodegenTargetConfig
impl PartialEq for CodegenTargetConfig
Source§impl Serialize for CodegenTargetConfig
impl Serialize for CodegenTargetConfig
impl StructuralPartialEq for CodegenTargetConfig
Auto Trait Implementations§
impl Freeze for CodegenTargetConfig
impl RefUnwindSafe for CodegenTargetConfig
impl Send for CodegenTargetConfig
impl Sync for CodegenTargetConfig
impl Unpin for CodegenTargetConfig
impl UnsafeUnpin for CodegenTargetConfig
impl UnwindSafe for CodegenTargetConfig
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<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.