pub struct TypeAttributes {
pub branded: bool,
pub validate: bool,
pub bigint_auto: bool,
pub serde: SerdeTypeAttrs,
pub output_path: Option<String>,
}Expand description
型の属性
Fields§
§branded: boolBranded Typeとして生成するか
validate: boolバリデーションを生成するか
bigint_auto: boolBigInt自動変換を有効にするか
serde: SerdeTypeAttrsserde属性
output_path: Option<String>Output path for automatic TypeScript generation
Trait Implementations§
Source§impl Clone for TypeAttributes
impl Clone for TypeAttributes
Source§fn clone(&self) -> TypeAttributes
fn clone(&self) -> TypeAttributes
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 TypeAttributes
impl Debug for TypeAttributes
Source§impl Default for TypeAttributes
impl Default for TypeAttributes
Source§fn default() -> TypeAttributes
fn default() -> TypeAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TypeAttributes
impl<'de> Deserialize<'de> for TypeAttributes
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeAttributes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeAttributes, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TypeAttributes
impl Serialize for TypeAttributes
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TypeAttributes
impl RefUnwindSafe for TypeAttributes
impl Send for TypeAttributes
impl Sync for TypeAttributes
impl Unpin for TypeAttributes
impl UnwindSafe for TypeAttributes
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