pub enum FirestoreFieldTtlOutcome {
Configured(FirestoreFieldTtlState),
Unrecognised(String),
}Expand description
A field resource’s TTL configuration, as read from a listed ProtoField that carries one.
Variants§
Configured(FirestoreFieldTtlState)
TTL is configured, in the given lifecycle state.
Unrecognised(String)
The listed ttl_config carries a state this crate’s domain model cannot represent.
Carries why, for FirestoreUnrecognisedIndexItem::reason. Report-only, the same as any
other unrecognised item: the planner never enables, disables or otherwise acts on it.
Trait Implementations§
Source§impl Clone for FirestoreFieldTtlOutcome
impl Clone for FirestoreFieldTtlOutcome
Source§impl Debug for FirestoreFieldTtlOutcome
impl Debug for FirestoreFieldTtlOutcome
Source§impl From<TtlConfig> for FirestoreFieldTtlOutcome
Converts one field resource’s TTL half, when it carries a ttl_config at all. Infallible for
the same reason as [From<field::IndexConfig> for FirestoreFieldOverrideOutcome]: an
unrecognisable state becomes Unrecognised rather
than failing the whole field.
impl From<TtlConfig> for FirestoreFieldTtlOutcome
Converts one field resource’s TTL half, when it carries a ttl_config at all. Infallible for
the same reason as [From<field::IndexConfig> for FirestoreFieldOverrideOutcome]: an
unrecognisable state becomes Unrecognised rather
than failing the whole field.
Source§impl PartialEq for FirestoreFieldTtlOutcome
impl PartialEq for FirestoreFieldTtlOutcome
impl StructuralPartialEq for FirestoreFieldTtlOutcome
Auto Trait Implementations§
impl Freeze for FirestoreFieldTtlOutcome
impl RefUnwindSafe for FirestoreFieldTtlOutcome
impl Send for FirestoreFieldTtlOutcome
impl Sync for FirestoreFieldTtlOutcome
impl Unpin for FirestoreFieldTtlOutcome
impl UnsafeUnpin for FirestoreFieldTtlOutcome
impl UnwindSafe for FirestoreFieldTtlOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> 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