pub struct SuiteFixtureState { /* private fields */ }Expand description
Atomically published identity of a suite-scoped product fixture.
Implementations§
Source§impl SuiteFixtureState
impl SuiteFixtureState
Sourcepub fn new(
fixture: impl Into<String>,
container_identity: impl Into<String>,
fingerprint: impl Into<String>,
resource: impl Into<String>,
producer_version: impl Into<String>,
) -> Self
pub fn new( fixture: impl Into<String>, container_identity: impl Into<String>, fingerprint: impl Into<String>, resource: impl Into<String>, producer_version: impl Into<String>, ) -> Self
Creates state for a fully initialized product fixture.
Sourcepub fn fixture(&self) -> &str
pub fn fixture(&self) -> &str
Returns the product-defined fixture kind, such as postgres-template.
Sourcepub fn container_identity(&self) -> &str
pub fn container_identity(&self) -> &str
Returns the shared container identity this fixture was built in.
Sourcepub fn fingerprint(&self) -> &str
pub fn fingerprint(&self) -> &str
Returns the product-defined migration or schema fingerprint.
Sourcepub fn producer_version(&self) -> &str
pub fn producer_version(&self) -> &str
Returns the producer implementation version.
Trait Implementations§
Source§impl Clone for SuiteFixtureState
impl Clone for SuiteFixtureState
Source§fn clone(&self) -> SuiteFixtureState
fn clone(&self) -> SuiteFixtureState
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 SuiteFixtureState
impl Debug for SuiteFixtureState
Source§impl<'de> Deserialize<'de> for SuiteFixtureState
impl<'de> Deserialize<'de> for SuiteFixtureState
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
Source§impl PartialEq for SuiteFixtureState
impl PartialEq for SuiteFixtureState
Source§impl Serialize for SuiteFixtureState
impl Serialize for SuiteFixtureState
impl Eq for SuiteFixtureState
impl StructuralPartialEq for SuiteFixtureState
Auto Trait Implementations§
impl Freeze for SuiteFixtureState
impl RefUnwindSafe for SuiteFixtureState
impl Send for SuiteFixtureState
impl Sync for SuiteFixtureState
impl Unpin for SuiteFixtureState
impl UnwindSafe for SuiteFixtureState
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].