Enum frodobuf_schema::model::FieldType [−][src]
pub enum FieldType { }
Expand description
Field type - for object fields and method parameters
Variants
8-bit signed int
32-bit signed int
64-bit signed int
8-bit unsigned int
32-bit unsigned int
64-bit unsigned int
bool
UTF-8-encoded String (including 7-bit US ASCII, which is a subset of UTF-8)
arbitrary sequence of bytes.
32-bit float
64-bit float (in syntax, also called ‘double’)
RFC-3339-encoded date/time
Map (key-type, val-type). Supported key types: string, int, or bytes
Array/Vec (“repeated” in protobuf)
ObjectOrEnum(Ident)
A custom datatype parameter is path
Implementations
impl FieldType
[src]
impl FieldType
[src]pub fn is_integer(&self) -> bool
[src]
pub fn is_integer(&self) -> bool
[src]Returns true if type is one of the signed or unsigned integer types
Trait Implementations
impl<'de> Deserialize<'de> for FieldType
[src]
impl<'de> Deserialize<'de> for FieldType
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for FieldType
[src]
Auto Trait Implementations
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnwindSafe for FieldType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,