Struct telegram_bot_fork_raw::types::refs::SupergroupId
source · pub struct SupergroupId(_);
Expand description
Unique supergroup identifier.
Implementations
sourceimpl SupergroupId
impl SupergroupId
Trait Implementations
sourceimpl Clone for SupergroupId
impl Clone for SupergroupId
sourcefn clone(&self) -> SupergroupId
fn clone(&self) -> SupergroupId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SupergroupId
impl Debug for SupergroupId
sourceimpl<'de> Deserialize<'de> for SupergroupId
impl<'de> Deserialize<'de> for SupergroupId
sourcefn deserialize<D>(deserializer: D) -> Result<SupergroupId, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<SupergroupId, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for SupergroupId
impl Display for SupergroupId
sourceimpl From<SupergroupId> for ChatId
impl From<SupergroupId> for ChatId
sourcefn from(c: SupergroupId) -> Self
fn from(c: SupergroupId) -> Self
Converts to this type from the input type.
sourceimpl From<SupergroupId> for Integer
impl From<SupergroupId> for Integer
sourcefn from(from: SupergroupId) -> Self
fn from(from: SupergroupId) -> Self
Converts to this type from the input type.
sourceimpl From<i64> for SupergroupId
impl From<i64> for SupergroupId
sourceimpl Hash for SupergroupId
impl Hash for SupergroupId
sourceimpl Ord for SupergroupId
impl Ord for SupergroupId
sourcefn cmp(&self, other: &SupergroupId) -> Ordering
fn cmp(&self, other: &SupergroupId) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SupergroupId> for SupergroupId
impl PartialEq<SupergroupId> for SupergroupId
sourcefn eq(&self, other: &SupergroupId) -> bool
fn eq(&self, other: &SupergroupId) -> bool
sourceimpl PartialOrd<SupergroupId> for SupergroupId
impl PartialOrd<SupergroupId> for SupergroupId
sourcefn partial_cmp(&self, other: &SupergroupId) -> Option<Ordering>
fn partial_cmp(&self, other: &SupergroupId) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for SupergroupId
impl Serialize for SupergroupId
sourceimpl ToChatRef for SupergroupId
impl ToChatRef for SupergroupId
fn to_chat_ref(&self) -> ChatRef
impl Copy for SupergroupId
impl Eq for SupergroupId
impl StructuralEq for SupergroupId
impl StructuralPartialEq for SupergroupId
Auto Trait Implementations
impl RefUnwindSafe for SupergroupId
impl Send for SupergroupId
impl Sync for SupergroupId
impl Unpin for SupergroupId
impl UnwindSafe for SupergroupId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more