Struct homestar_invocation::Invocation
source · pub struct Invocation<'a, T> { /* private fields */ }Expand description
A signed Task wrapper/container.
Implementations§
source§impl<'a, T> Invocation<'a, T>where
Ipld: From<T>,
impl<'a, T> Invocation<'a, T>where
Ipld: From<T>,
sourcepub fn new(task: Task<'a, T>) -> Self
pub fn new(task: Task<'a, T>) -> Self
Create a new Invocation container.
Trait Implementations§
source§impl<'a, T: Clone> Clone for Invocation<'a, T>
impl<'a, T: Clone> Clone for Invocation<'a, T>
source§fn clone(&self) -> Invocation<'a, T>
fn clone(&self) -> Invocation<'a, T>
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<'a, T> DagCbor for Invocation<'a, T>where
Ipld: From<T>,
impl<'a, T> DagCbor for Invocation<'a, T>where
Ipld: From<T>,
source§impl<'a, T: Debug> Debug for Invocation<'a, T>
impl<'a, T: Debug> Debug for Invocation<'a, T>
source§impl<'de, 'a, T> Deserialize<'de> for Invocation<'a, T>where
T: Deserialize<'de>,
impl<'de, 'a, T> Deserialize<'de> for Invocation<'a, T>where
T: Deserialize<'de>,
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<Invocation<'_, T>> for Ipldwhere
Ipld: From<T>,
impl<T> From<Invocation<'_, T>> for Ipldwhere
Ipld: From<T>,
source§fn from(invocation: Invocation<'_, T>) -> Self
fn from(invocation: Invocation<'_, T>) -> Self
Converts to this type from the input type.
source§impl<'a, T: PartialEq> PartialEq for Invocation<'a, T>
impl<'a, T: PartialEq> PartialEq for Invocation<'a, T>
source§fn eq(&self, other: &Invocation<'a, T>) -> bool
fn eq(&self, other: &Invocation<'a, T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a, T> Serialize for Invocation<'a, T>where
T: Serialize,
impl<'a, T> Serialize for Invocation<'a, T>where
T: Serialize,
source§impl<T> TryFrom<Ipld> for Invocation<'_, T>where
T: From<Ipld>,
impl<T> TryFrom<Ipld> for Invocation<'_, T>where
T: From<Ipld>,
impl<'a, T> StructuralPartialEq for Invocation<'a, T>
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for Invocation<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Invocation<'a, T>where
T: Send,
impl<'a, T> Sync for Invocation<'a, T>where
T: Sync,
impl<'a, T> Unpin for Invocation<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for Invocation<'a, T>where
T: UnwindSafe,
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> 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