pub enum FunctionCode {
PortOfDischarge,
FreightPayableAt,
PortOfLoading,
}Expand description
Provide the function code.
Variants§
Trait Implementations§
Source§impl Clone for FunctionCode
impl Clone for FunctionCode
Source§fn clone(&self) -> FunctionCode
fn clone(&self) -> FunctionCode
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 FunctionCode
impl Debug for FunctionCode
Source§impl Default for FunctionCode
impl Default for FunctionCode
Source§fn default() -> FunctionCode
fn default() -> FunctionCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FunctionCode
impl<'de> Deserialize<'de> for FunctionCode
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 Hash for FunctionCode
impl Hash for FunctionCode
Source§impl Ord for FunctionCode
impl Ord for FunctionCode
Source§fn cmp(&self, other: &FunctionCode) -> Ordering
fn cmp(&self, other: &FunctionCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FunctionCode
impl PartialEq for FunctionCode
Source§impl PartialOrd for FunctionCode
impl PartialOrd for FunctionCode
Source§impl Serialize for FunctionCode
impl Serialize for FunctionCode
impl Copy for FunctionCode
impl Eq for FunctionCode
impl StructuralPartialEq for FunctionCode
Auto Trait Implementations§
impl Freeze for FunctionCode
impl RefUnwindSafe for FunctionCode
impl Send for FunctionCode
impl Sync for FunctionCode
impl Unpin for FunctionCode
impl UnwindSafe for FunctionCode
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