Struct homestar_invocation::pointer::Pointer
source · pub struct Pointer(/* private fields */);Available on crate feature
diesel only.Expand description
References a specific Invocation, Task, Instruction, and/or Receipt, always wrapping a [Cid].
Implementations§
Trait Implementations§
source§impl<'expr> AsExpression<Nullable<Text>> for &'expr Pointer
impl<'expr> AsExpression<Nullable<Text>> for &'expr Pointer
§type Expression = Bound<Nullable<Text>, &'expr Pointer>
type Expression = Bound<Nullable<Text>, &'expr Pointer>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<Nullable<Text>> for Pointer
impl AsExpression<Nullable<Text>> for Pointer
§type Expression = Bound<Nullable<Text>, Pointer>
type Expression = Bound<Nullable<Text>, Pointer>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'expr> AsExpression<Text> for &'expr Pointer
impl<'expr> AsExpression<Text> for &'expr Pointer
§type Expression = Bound<Text, &'expr Pointer>
type Expression = Bound<Text, &'expr Pointer>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<Text> for Pointer
impl AsExpression<Text> for Pointer
§type Expression = Bound<Text, Pointer>
type Expression = Bound<Text, Pointer>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'de> Deserialize<'de> for Pointer
impl<'de> Deserialize<'de> for Pointer
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<T> From<Pointer> for RunInstruction<'_, T>
impl<T> From<Pointer> for RunInstruction<'_, T>
source§impl Ord for Pointer
impl Ord for Pointer
source§impl PartialEq for Pointer
impl PartialEq for Pointer
source§impl PartialOrd for Pointer
impl PartialOrd for Pointer
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<'a, 'b, T> TryFrom<&'b RunInstruction<'a, T>> for &'b Pointerwhere
T: Debug,
impl<'a, 'b, T> TryFrom<&'b RunInstruction<'a, T>> for &'b Pointerwhere
T: Debug,
§type Error = Error<&'b RunInstruction<'a, T>>
type Error = Error<&'b RunInstruction<'a, T>>
The type returned in the event of a conversion error.
source§impl<'a, 'b, T> TryFrom<&'b RunInstruction<'a, T>> for Pointerwhere
T: Debug,
impl<'a, 'b, T> TryFrom<&'b RunInstruction<'a, T>> for Pointerwhere
T: Debug,
§type Error = Error<&'b RunInstruction<'a, T>>
type Error = Error<&'b RunInstruction<'a, T>>
The type returned in the event of a conversion error.
source§impl<'a, T> TryFrom<RunInstruction<'a, T>> for Pointerwhere
T: Debug,
impl<'a, T> TryFrom<RunInstruction<'a, T>> for Pointerwhere
T: Debug,
§type Error = Error<RunInstruction<'a, T>>
type Error = Error<RunInstruction<'a, T>>
The type returned in the event of a conversion error.
impl Eq for Pointer
impl StructuralEq for Pointer
impl StructuralPartialEq for Pointer
Auto Trait Implementations§
impl RefUnwindSafe for Pointer
impl Send for Pointer
impl Sync for Pointer
impl Unpin for Pointer
impl UnwindSafe for Pointer
Blanket Implementations§
source§impl<T> Base64Encode for Twhere
T: DagJson,
impl<T> Base64Encode for Twhere
T: DagJson,
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> DagJson for Twhere
T: Serialize + DeserializeOwned,
impl<T> DagJson for Twhere
T: Serialize + DeserializeOwned,
source§impl<T, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
impl<T, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
source§impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more§impl<T> References<RawCodec> for T
impl<T> References<RawCodec> for T
source§impl<T, ST, DB> StaticallySizedRow<ST, DB> for T
impl<T, ST, DB> StaticallySizedRow<ST, DB> for T
source§const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
The number of fields that this type will consume.