pub enum FieldFormat {
Bool,
Date,
File,
Float,
Integer,
KeyValueList,
Link,
List,
Text,
String,
User,
Version,
}
Expand description
Describes the format (data type) of a field
Variants§
Bool
true or false
Date
a calendar date
File
an uploaded file
Float
a floating point number
Integer
a whole number
KeyValueList
a list of key/value pairs
Link
a hyperlink
List
a list of strings
Text
a long text (multi-line)
String
a short text
User
a Redmine user
Version
a Target version
Trait Implementations§
Source§impl Clone for FieldFormat
impl Clone for FieldFormat
Source§fn clone(&self) -> FieldFormat
fn clone(&self) -> FieldFormat
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 FieldFormat
impl Debug for FieldFormat
Source§impl<'de> Deserialize<'de> for FieldFormat
impl<'de> Deserialize<'de> for FieldFormat
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 FieldFormat
impl PartialEq for FieldFormat
Source§impl Serialize for FieldFormat
impl Serialize for FieldFormat
impl Eq for FieldFormat
impl StructuralPartialEq for FieldFormat
Auto Trait Implementations§
impl Freeze for FieldFormat
impl RefUnwindSafe for FieldFormat
impl Send for FieldFormat
impl Sync for FieldFormat
impl Unpin for FieldFormat
impl UnwindSafe for FieldFormat
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