Struct notion::ids::DatabaseId
source · pub struct DatabaseId(_);
Trait Implementations§
source§impl AsIdentifier<DatabaseId> for Database
impl AsIdentifier<DatabaseId> for Database
fn as_id(&self) -> &DatabaseId
source§impl Clone for DatabaseId
impl Clone for DatabaseId
source§fn clone(&self) -> DatabaseId
fn clone(&self) -> DatabaseId
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 DatabaseId
impl Debug for DatabaseId
source§impl<'de> Deserialize<'de> for DatabaseId
impl<'de> Deserialize<'de> for DatabaseId
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 DatabaseId
impl Display for DatabaseId
source§impl FromStr for DatabaseId
impl FromStr for DatabaseId
source§impl Hash for DatabaseId
impl Hash for DatabaseId
source§impl Identifier for DatabaseId
impl Identifier for DatabaseId
source§impl PartialEq<DatabaseId> for DatabaseId
impl PartialEq<DatabaseId> for DatabaseId
source§fn eq(&self, other: &DatabaseId) -> bool
fn eq(&self, other: &DatabaseId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DatabaseId
impl Serialize for DatabaseId
impl Eq for DatabaseId
impl StructuralEq for DatabaseId
impl StructuralPartialEq for DatabaseId
Auto Trait Implementations§
impl RefUnwindSafe for DatabaseId
impl Send for DatabaseId
impl Sync for DatabaseId
impl Unpin for DatabaseId
impl UnwindSafe for DatabaseId
Blanket Implementations§
source§impl<T> AsIdentifier<T> for Twhere
T: Identifier,
impl<T> AsIdentifier<T> for Twhere
T: Identifier,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.