pub struct FieldType {
pub package_name: Option<String>,
pub source_package: String,
pub field_type: String,
pub array_info: ArrayType,
pub string_capacity: Option<usize>,
}Expand description
Describes the type for an individual field in a message
Fields§
§package_name: Option<String>§source_package: String§field_type: String§array_info: ArrayType§string_capacity: Option<usize>Implementations§
Trait Implementations§
Source§impl Display for FieldType
Serializes the field type exactly how it would be written in a .msg file
impl Display for FieldType
Serializes the field type exactly how it would be written in a .msg file
impl Eq for FieldType
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnwindSafe for FieldType
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