[−][src]Struct misskey::model::id::Id
Implementations
impl<T> Id<T> where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Id<T>
[src]
Trait Implementations
impl<T> Clone for Id<T>
[src]
impl<T> Copy for Id<T>
[src]
impl<T> Debug for Id<T>
[src]
impl<'de, T> Deserialize<'de> for Id<T>
[src]
pub fn deserialize<D>(
deserializer: D
) -> Result<Id<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
deserializer: D
) -> Result<Id<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl<T> Display for Id<T>
[src]
impl<E> EntityRef<E> for Id<E> where
E: Entity,
[src]
E: Entity,
pub fn entity_ref(&self) -> Id<E>
[src]
impl<'_, E> EntityRef<E> for &'_ Id<E> where
E: Entity,
[src]
E: Entity,
pub fn entity_ref(&self) -> Id<E>
[src]
impl<T> Eq for Id<T>
[src]
impl<E> From<Id<E>> for TimelineCursor<E> where
E: Entity,
[src]
E: Entity,
pub fn from(id: Id<E>) -> TimelineCursor<E>
[src]
impl<T> From<Id<T>> for Aid where
T: ?Sized,
[src]
T: ?Sized,
impl<T> FromStr for Id<T>
[src]
type Err = ParseIdError
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Id<T>, <Id<T> as FromStr>::Err>
[src]
impl<T> Hash for Id<T>
[src]
pub fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T> Ord for Id<T>
[src]
pub fn cmp(&self, other: &Id<T>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<T> PartialEq<Id<T>> for Id<T>
[src]
pub fn eq(&self, other: &Id<T>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T> PartialOrd<Id<T>> for Id<T>
[src]
pub fn partial_cmp(&self, other: &Id<T>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T> Serialize for Id<T>
[src]
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for Id<T>
[src]
impl<T: ?Sized> Send for Id<T>
[src]
impl<T: ?Sized> Sync for Id<T>
[src]
impl<T: ?Sized> Unpin for Id<T>
[src]
impl<T: ?Sized> UnwindSafe for Id<T>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,