Struct rain_task::DataObjectId [−][src]
pub struct DataObjectId { /* fields omitted */ }
ID type for task objects.
Trait Implementations
impl PartialOrd<DataObjectId> for DataObjectId
[src]
impl PartialOrd<DataObjectId> for DataObjectId
fn partial_cmp(&self, other: &DataObjectId) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &DataObjectId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &DataObjectId) -> bool
[src]
fn lt(&self, other: &DataObjectId) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &DataObjectId) -> bool
[src]
fn le(&self, other: &DataObjectId) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &DataObjectId) -> bool
[src]
fn gt(&self, other: &DataObjectId) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &DataObjectId) -> bool
[src]
fn ge(&self, other: &DataObjectId) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl ReadCapnp for DataObjectId
[src]
impl ReadCapnp for DataObjectId
fn read_capnp<R>(r: &mut R) -> DataObjectId where
R: Read,
[src]
fn read_capnp<R>(r: &mut R) -> DataObjectId where
R: Read,
impl Hash for DataObjectId
[src]
impl Hash for DataObjectId
fn 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<'a> FromCapnp<'a> for DataObjectId
[src]
impl<'a> FromCapnp<'a> for DataObjectId
type Reader = Reader<'a>
fn from_capnp(read: &'a <DataObjectId as FromCapnp<'a>>::Reader) -> DataObjectId
[src]
fn from_capnp(read: &'a <DataObjectId as FromCapnp<'a>>::Reader) -> DataObjectId
impl<'de> Deserialize<'de> for DataObjectId
[src]
impl<'de> Deserialize<'de> for DataObjectId
fn deserialize<D>(
deserializer: D
) -> Result<DataObjectId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(
deserializer: D
) -> Result<DataObjectId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Clone for DataObjectId
[src]
impl Clone for DataObjectId
fn clone(&self) -> DataObjectId
[src]
fn clone(&self) -> DataObjectId
Returns 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 Debug for DataObjectId
[src]
impl Debug for DataObjectId
fn 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 DataObjectId
[src]
impl Ord for DataObjectId
fn cmp(&self, other: &DataObjectId) -> Ordering
[src]
fn cmp(&self, other: &DataObjectId) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl<'a> ToCapnp<'a> for DataObjectId
[src]
impl<'a> ToCapnp<'a> for DataObjectId
type Builder = Builder<'a>
fn to_capnp(&self, build: &mut <DataObjectId as ToCapnp<'a>>::Builder)
[src]
fn to_capnp(&self, build: &mut <DataObjectId as ToCapnp<'a>>::Builder)
impl SId for DataObjectId
[src]
impl SId for DataObjectId
fn new(session_id: i32, id: i32) -> DataObjectId
[src]
fn new(session_id: i32, id: i32) -> DataObjectId
fn get_id(&self) -> i32
[src]
fn get_id(&self) -> i32
fn get_session_id(&self) -> i32
[src]
fn get_session_id(&self) -> i32
fn invalid() -> Self
[src]
fn invalid() -> Self
fn is_invalid(&self) -> bool
[src]
fn is_invalid(&self) -> bool
impl Display for DataObjectId
[src]
impl Display for DataObjectId
fn 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 DataObjectId
[src]
impl Default for DataObjectId
fn default() -> DataObjectId
[src]
fn default() -> DataObjectId
Returns the "default value" for a type. Read more
impl Copy for DataObjectId
[src]
impl Copy for DataObjectId
impl Serialize for DataObjectId
[src]
impl Serialize for DataObjectId
fn 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 DataObjectId
[src]
impl Eq for DataObjectId
impl PartialEq<DataObjectId> for DataObjectId
[src]
impl PartialEq<DataObjectId> for DataObjectId
fn eq(&self, other: &DataObjectId) -> bool
[src]
fn eq(&self, other: &DataObjectId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DataObjectId) -> bool
[src]
fn ne(&self, other: &DataObjectId) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for DataObjectId
impl Send for DataObjectId
impl Sync for DataObjectId
impl Sync for DataObjectId