#[repr(transparent)]pub struct CorrespondentId(pub u32);Expand description
ID type for a Paperless entity.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for CorrespondentId
impl Clone for CorrespondentId
Source§fn clone(&self) -> CorrespondentId
fn clone(&self) -> CorrespondentId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CorrespondentId
Source§impl Debug for CorrespondentId
impl Debug for CorrespondentId
Source§impl Default for CorrespondentId
impl Default for CorrespondentId
Source§fn default() -> CorrespondentId
fn default() -> CorrespondentId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CorrespondentId
impl<'de> Deserialize<'de> for CorrespondentId
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 Display for CorrespondentId
impl Display for CorrespondentId
impl Eq for CorrespondentId
Source§impl From<CorrespondentId> for u32
impl From<CorrespondentId> for u32
Source§fn from(item: CorrespondentId) -> Self
fn from(item: CorrespondentId) -> Self
Converts to this type from the input type.
Source§impl Hash for CorrespondentId
impl Hash for CorrespondentId
impl PaperlessId for CorrespondentId
Source§impl PartialEq for CorrespondentId
impl PartialEq for CorrespondentId
Source§impl Serialize for CorrespondentId
impl Serialize for CorrespondentId
impl StructuralPartialEq for CorrespondentId
Auto Trait Implementations§
impl Freeze for CorrespondentId
impl RefUnwindSafe for CorrespondentId
impl Send for CorrespondentId
impl Sync for CorrespondentId
impl Unpin for CorrespondentId
impl UnsafeUnpin for CorrespondentId
impl UnwindSafe for CorrespondentId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.