Struct lemmy_db_schema::newtypes::LocalSiteId
source · pub struct LocalSiteId(/* private fields */);
Expand description
The local site id.
Trait Implementations§
source§impl Clone for LocalSiteId
impl Clone for LocalSiteId
source§fn clone(&self) -> LocalSiteId
fn clone(&self) -> LocalSiteId
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 Debug for LocalSiteId
impl Debug for LocalSiteId
source§impl Default for LocalSiteId
impl Default for LocalSiteId
source§fn default() -> LocalSiteId
fn default() -> LocalSiteId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocalSiteId
impl<'de> Deserialize<'de> for LocalSiteId
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 Hash for LocalSiteId
impl Hash for LocalSiteId
source§impl PartialEq for LocalSiteId
impl PartialEq for LocalSiteId
source§fn eq(&self, other: &LocalSiteId) -> bool
fn eq(&self, other: &LocalSiteId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LocalSiteId
impl Serialize for LocalSiteId
impl Copy for LocalSiteId
impl Eq for LocalSiteId
impl StructuralPartialEq for LocalSiteId
Auto Trait Implementations§
impl Freeze for LocalSiteId
impl RefUnwindSafe for LocalSiteId
impl Send for LocalSiteId
impl Sync for LocalSiteId
impl Unpin for LocalSiteId
impl UnwindSafe for LocalSiteId
Blanket Implementations§
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