Enum pact_models::generators::UuidFormat
source · [−]pub enum UuidFormat {
Simple,
LowerCaseHyphenated,
UpperCaseHyphenated,
Urn,
}
Expand description
Format of UUIDs to generate
Variants
Simple
Simple UUID (e.g 936DA01f9abd4d9d80c702af85c822a8)
LowerCaseHyphenated
lower-case hyphenated (e.g 936da01f-9abd-4d9d-80c7-02af85c822a8)
UpperCaseHyphenated
Upper-case hyphenated (e.g 936DA01F-9ABD-4D9D-80C7-02AF85C822A8)
Urn
URN (e.g. urn:uuid:936da01f-9abd-4d9d-80c7-02af85c822a8)
Trait Implementations
sourceimpl Clone for UuidFormat
impl Clone for UuidFormat
sourcefn clone(&self) -> UuidFormat
fn clone(&self) -> UuidFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UuidFormat
impl Debug for UuidFormat
sourceimpl Default for UuidFormat
impl Default for UuidFormat
sourceimpl<'de> Deserialize<'de> for UuidFormat
impl<'de> Deserialize<'de> for UuidFormat
sourcefn 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
sourceimpl Display for UuidFormat
impl Display for UuidFormat
sourceimpl FromStr for UuidFormat
impl FromStr for UuidFormat
sourceimpl Hash for UuidFormat
impl Hash for UuidFormat
sourceimpl PartialEq<UuidFormat> for UuidFormat
impl PartialEq<UuidFormat> for UuidFormat
sourceimpl Serialize for UuidFormat
impl Serialize for UuidFormat
impl Copy for UuidFormat
impl Eq for UuidFormat
impl StructuralEq for UuidFormat
impl StructuralPartialEq for UuidFormat
Auto Trait Implementations
impl RefUnwindSafe for UuidFormat
impl Send for UuidFormat
impl Sync for UuidFormat
impl Unpin for UuidFormat
impl UnwindSafe for UuidFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more