Struct pact_verifier::pact_broker::ConsumerVersionSelector [−][src]
pub struct ConsumerVersionSelector {
pub consumer: Option<String>,
pub tag: Option<String>,
pub fallback_tag: Option<String>,
pub latest: Option<bool>,
pub deployed_or_released: Option<bool>,
pub deployed: Option<bool>,
pub released: Option<bool>,
pub environment: Option<String>,
pub main_branch: Option<bool>,
pub branch: Option<String>,
pub matching_branch: Option<bool>,
}
Expand description
Structure to represent a HAL link
Fields
consumer: Option<String>
Application name to filter the results on
tag: Option<String>
Tag
fallback_tag: Option<String>
Fallback tag if Tag doesn’t exist
latest: Option<bool>
Only select the latest (if false, this selects all pacts for a tag)
deployed_or_released: Option<bool>
Applications that have been deployed or released
deployed: Option<bool>
Applications that have been deployed
released: Option<bool>
Applications that have been released
environment: Option<String>
Applications in a given environment
main_branch: Option<bool>
Applications with the default branch set in the broker
branch: Option<String>
Applications with the given branch
matching_branch: Option<bool>
Applications that match the the provider version branch sent during verification
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ConsumerVersionSelector
impl Send for ConsumerVersionSelector
impl Sync for ConsumerVersionSelector
impl Unpin for ConsumerVersionSelector
impl UnwindSafe for ConsumerVersionSelector
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more