Struct rain_task::TaskId [−][src]
pub struct TaskId { /* fields omitted */ }ID type for task objects.
Trait Implementations
impl PartialOrd<TaskId> for TaskId[src]
impl PartialOrd<TaskId> for TaskIdfn partial_cmp(&self, other: &TaskId) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &TaskId) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &TaskId) -> bool[src]
fn lt(&self, other: &TaskId) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &TaskId) -> bool[src]
fn le(&self, other: &TaskId) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &TaskId) -> bool[src]
fn gt(&self, other: &TaskId) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &TaskId) -> bool[src]
fn ge(&self, other: &TaskId) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl ReadCapnp for TaskId[src]
impl ReadCapnp for TaskIdfn read_capnp<R>(r: &mut R) -> TaskId where
R: Read, [src]
fn read_capnp<R>(r: &mut R) -> TaskId where
R: Read, impl<'a> FromCapnp<'a> for TaskId[src]
impl<'a> FromCapnp<'a> for TaskIdimpl Hash for TaskId[src]
impl Hash for TaskIdfn hash<__H>(&self, state: &mut __H) where
__H: Hasher, [src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher, Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for TaskId[src]
impl Clone for TaskIdfn clone(&self) -> TaskId[src]
fn clone(&self) -> TaskIdReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<'de> Deserialize<'de> for TaskId[src]
impl<'de> Deserialize<'de> for TaskIdfn deserialize<D>(
deserializer: D
) -> Result<TaskId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(
deserializer: D
) -> Result<TaskId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Debug for TaskId[src]
impl Debug for TaskIdfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Ord for TaskId[src]
impl Ord for TaskIdfn cmp(&self, other: &TaskId) -> Ordering[src]
fn cmp(&self, other: &TaskId) -> OrderingThis method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl<'a> ToCapnp<'a> for TaskId[src]
impl<'a> ToCapnp<'a> for TaskIdimpl SId for TaskId[src]
impl SId for TaskIdfn new(session_id: i32, id: i32) -> TaskId[src]
fn new(session_id: i32, id: i32) -> TaskIdfn get_id(&self) -> i32[src]
fn get_id(&self) -> i32fn get_session_id(&self) -> i32[src]
fn get_session_id(&self) -> i32fn invalid() -> Self[src]
fn invalid() -> Selffn is_invalid(&self) -> bool[src]
fn is_invalid(&self) -> boolimpl Display for TaskId[src]
impl Display for TaskIdfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Default for TaskId[src]
impl Default for TaskIdimpl Copy for TaskId[src]
impl Copy for TaskIdimpl Serialize for TaskId[src]
impl Serialize for TaskIdfn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, [src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer, Serialize this value into the given Serde serializer. Read more
impl Eq for TaskId[src]
impl Eq for TaskIdimpl PartialEq<TaskId> for TaskId[src]
impl PartialEq<TaskId> for TaskId