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§
source§impl Clone for ConsumerVersionSelector
impl Clone for ConsumerVersionSelector
source§fn clone(&self) -> ConsumerVersionSelector
fn clone(&self) -> ConsumerVersionSelector
Returns a copy 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 ConsumerVersionSelector
impl Debug for ConsumerVersionSelector
source§impl<'de> Deserialize<'de> for ConsumerVersionSelector
impl<'de> Deserialize<'de> for ConsumerVersionSelector
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
Auto Trait Implementations§
impl Freeze for ConsumerVersionSelector
impl RefUnwindSafe for ConsumerVersionSelector
impl Send for ConsumerVersionSelector
impl Sync for ConsumerVersionSelector
impl Unpin for ConsumerVersionSelector
impl UnwindSafe for ConsumerVersionSelector
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request