pub enum ValueGeneratorMode {
Literal,
Constant,
Value,
}Expand description
Determines how the value of a element specified in the XML schema should be converted to code.
Variants§
Literal
Render the value as a byte string literal.
Constant
Render the value as a constant/compile time constructed value.
Value
Render the value as normal runtime constructed value.
Trait Implementations§
Source§impl Clone for ValueGeneratorMode
impl Clone for ValueGeneratorMode
Source§fn clone(&self) -> ValueGeneratorMode
fn clone(&self) -> ValueGeneratorMode
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 ValueGeneratorMode
impl Debug for ValueGeneratorMode
Source§impl PartialEq for ValueGeneratorMode
impl PartialEq for ValueGeneratorMode
impl Copy for ValueGeneratorMode
impl Eq for ValueGeneratorMode
impl StructuralPartialEq for ValueGeneratorMode
Auto Trait Implementations§
impl Freeze for ValueGeneratorMode
impl RefUnwindSafe for ValueGeneratorMode
impl Send for ValueGeneratorMode
impl Sync for ValueGeneratorMode
impl Unpin for ValueGeneratorMode
impl UnsafeUnpin for ValueGeneratorMode
impl UnwindSafe for ValueGeneratorMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.