pub struct LocalTimestamp { /* private fields */ }derive and time only.Expand description
A wall clock and the zone it was on, where the zone may be absent — the EXIF capture-time shape, as one value.
Ord is the DECLARED one and it is the STORAGE order rather than the chronological one: a
wall clock, then a displacement. It has to be, because the chronological order is PARTIAL — two
values with no offset between them are not comparable as instants at all — and a PartialOrd
that answered None for the commonest pair in a photo library would be a trap in every sort.
The total order the database sorts by is ColumnKind::ORDER, which
leads with the derived instant and falls back on exactly these fields; see the storage face,
where the two are reconciled.
Implementations§
impl LocalTimestamp
A wall clock and the zone it was on, where the zone may not have been written down.
Source§impl LocalTimestamp
impl LocalTimestamp
Sourcepub const fn wall(local: DateTime) -> Self
pub const fn wall(local: DateTime) -> Self
A wall clock with NO zone — what a camera that never wrote OffsetTimeOriginal gives.
The commonest shape in a photograph library, and the one this type exists to keep honest: it names a moment on a clock face and no instant at all.
Sourcepub const fn at(local: DateTime, offset: Offset) -> Self
pub const fn at(local: DateTime, offset: Offset) -> Self
A wall clock AND the zone it was on — the pair that composes into an instant.
Sourcepub const fn new(local: DateTime, offset: Option<Offset>) -> Self
pub const fn new(local: DateTime, offset: Option<Offset>) -> Self
Either shape, from an Option a caller already holds.
The route a reader taking two independent EXIF tags goes through: the local clock is the one that must be there, and the offset is the one that usually is not.
Sourcepub const fn offset(&self) -> Option<Offset>
pub const fn offset(&self) -> Option<Offset>
The zone the wall clock was on, where the source said.
Sourcepub const fn is_zoned(&self) -> bool
pub const fn is_zoned(&self) -> bool
Whether the source named a zone — the bit the offset_stated leaf holds.
Named as a question rather than read off offset at every call site, because
it is what the wire’s zoned slot and the storage’s third leaf both ask, and one answer keeps
the three from drifting.
Sourcepub fn to_utc(&self) -> Result<Timestamp, NoUtcPosition>
pub fn to_utc(&self) -> Result<Timestamp, NoUtcPosition>
The UTC instant this value names, or why it names none.
§Errors
NoUtcPosition::Unzoned where the source stated no offset — REFUSED rather than assumed,
which is the whole of this type’s posture. NoUtcPosition::OutOfRange where the wall clock
and the offset compose into an instant jiff cannot represent, which is reachable only at the
very edges of the ±9999-year civil span.
Sourcepub fn to_utc_nanos(&self) -> Result<i64, NoUtcPosition>
pub fn to_utc_nanos(&self) -> Result<i64, NoUtcPosition>
The derived index leaf: the UTC instant in NANOSECONDS since the epoch.
The one quantity every stored value that HAS an instant shares, and therefore the one an
ordering operator can mean what it says over — the position ORDER
leads with and the value the write binds into utc_nanos.
§Errors
to_utc’s two, plus NoUtcPosition::NanosecondOverflow where the instant
does not fit i64 nanoseconds — about ±292 years, so 1678 to 2262. A photograph outside
that span keeps every value column exact and takes NULL in the index; nothing about it
becomes unstorable, unreadable or unfindable, only unordered.
Trait Implementations§
Source§impl<'a, R: Row> Assemble<'a, R> for LocalTimestamp
Available on crate feature sqlx only.AND THE VALUE BACK IN — the wall clock and the offset pair, by name, and never the derived
key.
impl<'a, R: Row> Assemble<'a, R> for LocalTimestamp
sqlx only.AND THE VALUE BACK IN — the wall clock and the offset pair, by name, and never the derived key.
Reading the key would give a row two ways to say what value it holds, and a derived column exists
precisely so that there is one. It also means a row whose key is NULL decodes exactly like any
other, which is what keeps the posture above a fact about ORDERING alone.
Two refusals, both of a STORED value rather than of a caller’s arithmetic: the wall clock’s components must be a datetime jiff admits, and the offset pair must be one this type writes.
Source§impl<Db> Carrier<Db> for LocalTimestamp
Available on crate feature sqlx only.FOUR BINDS OUT — three that carry the value and one that carries its position.
impl<Db> Carrier<Db> for LocalTimestamp
sqlx only.FOUR BINDS OUT — three that carry the value and one that carries its position.
The derived one is written as NULL rather than bound when the value has no instant, which is
the shape ingraph’s own nullable carrier takes and for its reason: a None has no value to
hand sqlx, and the column’s type is decided by the DDL rather than by a placeholder.
AND THREE FOR A STRUCTURAL JUDGMENT. The NULL above is exactly why the value-leaf bind
exists: an equality that spent it would compare NULL = NULL, which is UNKNOWN, so an unzoned
capture time could never be matched by the very tuple that wrote it — ingraph #455’s bug, one
citizen over. The narrow bind is the WRITE’s own first three pushes, and its width is
value_width(SEGMENTS).
Source§fn push_bind(&self, qb: &mut QueryBuilder<Db>)
fn push_bind(&self, qb: &mut QueryBuilder<Db>)
qb. Read moreSource§fn push_value_bind(&self, qb: &mut QueryBuilder<Db>)
fn push_value_bind(&self, qb: &mut QueryBuilder<Db>)
Source§impl Clone for LocalTimestamp
impl Clone for LocalTimestamp
impl CollectionElement for LocalTimestamp
THE ADMISSION. A capture time is a clock reading and the zone it was read on; it carries no collection, so it is one element of one.
Source§impl ColumnEq for LocalTimestamp
impl ColumnEq for LocalTimestamp
Source§impl ColumnKind for LocalTimestamp
impl ColumnKind for LocalTimestamp
Source§const SEGMENTS: &'static [ColumnShape] = SEGMENTS
const SEGMENTS: &'static [ColumnShape] = SEGMENTS
Source§const ORDER: &'static [OrderLevel] = ORDER
const ORDER: &'static [OrderLevel] = ORDER
Source§impl CompositeFilterMarker for LocalTimestamp
What guards a LocalTimestamp column — one filter for both seats, a value storing every field
it declares.
impl CompositeFilterMarker for LocalTimestamp
What guards a LocalTimestamp column — one filter for both seats, a value storing every field
it declares.
Source§type Filter = LocalTimestampFilter
type Filter = LocalTimestampFilter
Source§type ColumnFilter = LocalTimestampFilter
type ColumnFilter = LocalTimestampFilter
Source§impl ContainerType for LocalTimestamp
Available on crate feature async-graphql only.
impl ContainerType for LocalTimestamp
async-graphql only.Source§async fn resolve_field(&self, ctx: &Context<'_>) -> ServerResult<Option<Value>>
async fn resolve_field(&self, ctx: &Context<'_>) -> ServerResult<Option<Value>>
boxed-trait only.async_graphql::Value. Read moreSource§async fn find_entity(
&self,
ctx: &Context<'_>,
params: &Value,
) -> ServerResult<Option<Value>>
async fn find_entity( &self, ctx: &Context<'_>, params: &Value, ) -> ServerResult<Option<Value>>
boxed-trait only.Source§fn collect_all_fields<'a>(
&'a self,
ctx: &ContextBase<'a, &'a Positioned<SelectionSet>>,
fields: &mut Fields<'a>,
) -> Result<(), ServerError>
fn collect_all_fields<'a>( &'a self, ctx: &ContextBase<'a, &'a Positioned<SelectionSet>>, fields: &mut Fields<'a>, ) -> Result<(), ServerError>
impl Copy for LocalTimestamp
Source§impl CursorValue for LocalTimestamp
The KEYSET position: the VALUE leaves, big-endian — the wall clock, then the offset pair.
impl CursorValue for LocalTimestamp
The KEYSET position: the VALUE leaves, big-endian — the wall clock, then the offset pair.
The derived key is deliberately absent. A page resumes by comparing a boundary against what it was cut at, and a value with no stated zone would have no boundary to be cut at; the three value leaves always have one. It also keeps the cursor exactly as wide as the value it names.
Source§impl Debug for LocalTimestamp
impl Debug for LocalTimestamp
Source§impl DefaultMarker for LocalTimestamp
The interpretation a LocalTimestamp field is read under: it occupies columns of its own and
all of them can be absent together, which is exactly the VALUE family CompositeMarker names.
impl DefaultMarker for LocalTimestamp
The interpretation a LocalTimestamp field is read under: it occupies columns of its own and
all of them can be absent together, which is exactly the VALUE family CompositeMarker names.
Source§type Marker = CompositeMarker<LocalTimestamp>
type Marker = CompositeMarker<LocalTimestamp>
Source§impl DefaultVecMarker for LocalTimestamp
A COLLECTION of capture times is asked through the QUANTIFIERS, on the media instant’s own
argument: a ListFilter’s operators hold a whole element as a single value,
and this element’s identity question already has TWO answers — exact on the stored pair, eq
on the derived instant — so a list operator would have to pick one silently.
impl DefaultVecMarker for LocalTimestamp
A COLLECTION of capture times is asked through the QUANTIFIERS, on the media instant’s own
argument: a ListFilter’s operators hold a whole element as a single value,
and this element’s identity question already has TWO answers — exact on the stored pair, eq
on the derived instant — so a list operator would have to pick one silently.
Source§type Marker = QuantifiedMarker<Vec<LocalTimestamp>>
type Marker = QuantifiedMarker<Vec<LocalTimestamp>>
Vec of this element type is read under by default. Read moreimpl Eq for LocalTimestamp
Source§impl From<LocalTimestamp> for LocalTimestampOperand
impl From<LocalTimestamp> for LocalTimestampOperand
Source§fn from(timestamp: LocalTimestamp) -> Self
fn from(timestamp: LocalTimestamp) -> Self
Source§impl From<LocalTimestampOperand> for LocalTimestamp
impl From<LocalTimestampOperand> for LocalTimestamp
Source§fn from(operand: LocalTimestampOperand) -> Self
fn from(operand: LocalTimestampOperand) -> Self
Source§impl Hash for LocalTimestamp
impl Hash for LocalTimestamp
Source§impl MongoCarrier for LocalTimestamp
Available on crate feature mongo only.THE BSON FORM: one sub-document, four keys, written in the ORDER the levels mean.
impl MongoCarrier for LocalTimestamp
mongo only.THE BSON FORM: one sub-document, four keys, written in the ORDER the levels mean.
{ "utc_nanos": 1628926509000000000, "local": "2021-08-14T16:45:09",
"offset_seconds": 32400, "offset_stated": true }It NESTS where the table flattens, which is the asymmetry MongoCarrier’s
own instant row already states: SQL’s namespace is flat and BSON’s is not. The SEGMENTS are the
same segments — the four leaves a table joins with _ are the four a document reaches as
at.local.
The derived key is written FIRST and null where there is none, so that BSON’s own field-by-field
document comparison agrees with [ORDER]: the instant, then the wall clock, then the offset pair.
The wall clock is its ISO 8601 text, which is the form BSON can both hold and compare — there is
no BSON type for a datetime without a zone, and UtcDateTime would invent the one fact this value
does not have.
Source§impl MongoExtract for LocalTimestamp
Available on crate feature mongo only.THE READ: three keys back into a capture time — MongoCarrier’s
mirror, and the derived key is not among them for the reason the SQL decode leaves it out.
impl MongoExtract for LocalTimestamp
mongo only.THE READ: three keys back into a capture time — MongoCarrier’s
mirror, and the derived key is not among them for the reason the SQL decode leaves it out.
Both refusals are the SQL decode’s own, through [offset_of] and jiff’s parser, so one document
and one row cannot disagree about which triples are capture times.
impl ObjectType for LocalTimestamp
async-graphql only.Source§impl Ord for LocalTimestamp
impl Ord for LocalTimestamp
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl OrderLeaves for LocalTimestamp
The four leaves, and the derived one RECOMPUTED at the call.
impl OrderLeaves for LocalTimestamp
The four leaves, and the derived one RECOMPUTED at the call.
utc_nanos is a function of the value leaves and is stored by nobody — not by the decode, not by
the whole value’s own CursorValue row. A level over it asks
LocalTimestamp::to_utc_nanos, which is the same computation the write binds, so a boundary is
the value the statement sorted by. Where that declines it answers None, which is the same
NULL the write writes and becomes the cursor slot’s own absence — and the keyset’s NULL arms
then place the row where the ORDER BY put it.
Source§impl OutputType for LocalTimestamp
Available on crate feature async-graphql only.
impl OutputType for LocalTimestamp
async-graphql only.Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Source§async fn resolve(
&self,
ctx: &ContextSelectionSet<'_>,
_field: &Positioned<Field>,
) -> ServerResult<Value>
async fn resolve( &self, ctx: &ContextSelectionSet<'_>, _field: &Positioned<Field>, ) -> ServerResult<Value>
boxed-trait only.async_graphql::Value.Source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Source§impl PartialEq for LocalTimestamp
impl PartialEq for LocalTimestamp
Source§impl PartialOrd for LocalTimestamp
impl PartialOrd for LocalTimestamp
Source§impl<Db> StoredAs<Db> for LocalTimestamp
The DECLARED half — FOUR words, each read off the leaf type’s own row so that a dialect
changing its word for a wall clock, an integer or a boolean moves this declaration and there is
no second list to drift from.
impl<Db> StoredAs<Db> for LocalTimestamp
The DECLARED half — FOUR words, each read off the leaf type’s own row so that a dialect changing its word for a wall clock, an integer or a boolean moves this declaration and there is no second list to drift from.
impl StructuralPartialEq for LocalTimestamp
Source§impl<Db> ToDatabaseComparison<LocalTimestamp, Db> for LocalTimestampFilterwhere
Db: Database + BindCeiling + for<'q> Backend<Builder<'q> = SqlConjunction<'q, Db>, Error = SqlLoweringError, Buffer: Display>,
bool: Carrier<Db>,
i32: Carrier<Db>,
i64: Carrier<Db>,
Temporal<PrimitiveDateTime>: Carrier<Db>,
Temporal<i32>: Carrier<Db>,
for<'a> &'a str: Encode<'a, Db> + Type<Db>,
Available on crate feature sqlx only.The comparison, keyed by the CITIZEN — the row a field declared LocalTimestamp resolves
through.
impl<Db> ToDatabaseComparison<LocalTimestamp, Db> for LocalTimestampFilterwhere
Db: Database + BindCeiling + for<'q> Backend<Builder<'q> = SqlConjunction<'q, Db>, Error = SqlLoweringError, Buffer: Display>,
bool: Carrier<Db>,
i32: Carrier<Db>,
i64: Carrier<Db>,
Temporal<PrimitiveDateTime>: Carrier<Db>,
Temporal<i32>: Carrier<Db>,
for<'a> &'a str: Encode<'a, Db> + Type<Db>,
sqlx only.The comparison, keyed by the CITIZEN — the row a field declared LocalTimestamp resolves
through.
Source§type Comparison = SqlLocalTimestampComparison<Db>
type Comparison = SqlLocalTimestampComparison<Db>
V and lowering for Db.Source§impl ToGraphqlInput for LocalTimestamp
The operand’s own crossing, so a [LocalTimestamp] column knows what one element looks like.
impl ToGraphqlInput for LocalTimestamp
The operand’s own crossing, so a [LocalTimestamp] column knows what one element looks like.
Source§impl ToGraphqlOutput for LocalTimestamp
Available on crate feature async-graphql only.The OUTPUT row: a capture time is returned as itself, by reference, through the object below.
impl ToGraphqlOutput for LocalTimestamp
async-graphql only.The OUTPUT row: a capture time is returned as itself, by reference, through the object below.
Source§type Output<'a> = &'a LocalTimestamp
type Output<'a> = &'a LocalTimestamp
M crosses into an OUTPUT position as.Source§fn to_graphql_output(capture: &Self) -> Self::Output<'_>
fn to_graphql_output(capture: &Self) -> Self::Output<'_>
Auto Trait Implementations§
impl Freeze for LocalTimestamp
impl RefUnwindSafe for LocalTimestamp
impl Send for LocalTimestamp
impl Sync for LocalTimestamp
impl Unpin for LocalTimestamp
impl UnsafeUnpin for LocalTimestamp
impl UnwindSafe for LocalTimestamp
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
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Db, T> DialectCursor<Db> for Twhere
T: CursorValue,
impl<Db, T> DialectCursor<Db> for Twhere
T: CursorValue,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.impl<T> Fruit for T
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> ⓘ
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> ⓘ
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> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<K> PositionKey for K
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> RootKey for T
impl<T> RuleType for T
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.Source§impl<T> WireScore for Twhere
T: ToGraphqlOutput + Send + Sync + 'static,
<T as ToGraphqlOutput>::Output<'a>: for<'a> OutputType,
impl<T> WireScore for Twhere
T: ToGraphqlOutput + Send + Sync + 'static,
<T as ToGraphqlOutput>::Output<'a>: for<'a> OutputType,
Source§type Wire<'a> = <T as ToGraphqlOutput>::Output<'a>
where
T: 'a
type Wire<'a> = <T as ToGraphqlOutput>::Output<'a> where T: 'a
async-graphql only.OutputType — the BACKEND’s demand, made where the
backend spends the form.Source§fn wire_score(&self) -> <T as WireScore>::Wire<'_>
fn wire_score(&self) -> <T as WireScore>::Wire<'_>
async-graphql only.