Enum pact_models::PactSpecification [−][src]
pub enum PactSpecification { Unknown, V1, V1_1, V2, V3, V4, }
Expand description
Enum defining the pact specification versions supported by the library
Variants
Unknown or unsupported specification version
First version of the pact specification (https://github.com/pact-foundation/pact-specification/tree/version-1)
Second version of the pact specification (https://github.com/pact-foundation/pact-specification/tree/version-1.1)
Version two of the pact specification (https://github.com/pact-foundation/pact-specification/tree/version-2)
Version three of the pact specification (https://github.com/pact-foundation/pact-specification/tree/version-3)
Version four of the pact specification (https://github.com/pact-foundation/pact-specification/tree/version-4)
Implementations
Trait Implementations
impl Clone for PactSpecification
[src]
impl Clone for PactSpecification
[src]fn clone(&self) -> PactSpecification
[src]
fn clone(&self) -> PactSpecification
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PactSpecification
[src]
impl Debug for PactSpecification
[src]impl Default for PactSpecification
[src]
impl Default for PactSpecification
[src]impl<'de> Deserialize<'de> for PactSpecification
[src]
impl<'de> Deserialize<'de> for PactSpecification
[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 PartialEq<PactSpecification> for PactSpecification
[src]
impl PartialEq<PactSpecification> for PactSpecification
[src]impl PartialOrd<PactSpecification> for PactSpecification
[src]
impl PartialOrd<PactSpecification> for PactSpecification
[src]fn partial_cmp(&self, other: &PactSpecification) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &PactSpecification) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Serialize for PactSpecification
[src]
impl Serialize for PactSpecification
[src]impl StructuralPartialEq for PactSpecification
[src]
Auto Trait Implementations
impl RefUnwindSafe for PactSpecification
impl Send for PactSpecification
impl Sync for PactSpecification
impl Unpin for PactSpecification
impl UnwindSafe for PactSpecification
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>,