Struct notion_wasi::models::properties::RelationValue
source · pub struct RelationValue {
pub id: PageId,
}Expand description
Relation property value objects contain an array of page references within the relation property. A page reference is an object with an id property, with a string value (UUIDv4) corresponding to a page ID in another database.
Fields§
§id: PageIdTrait Implementations§
source§impl Clone for RelationValue
impl Clone for RelationValue
source§fn clone(&self) -> RelationValue
fn clone(&self) -> RelationValue
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 RelationValue
impl Debug for RelationValue
source§impl<'de> Deserialize<'de> for RelationValue
impl<'de> Deserialize<'de> for RelationValue
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 PartialEq<RelationValue> for RelationValue
impl PartialEq<RelationValue> for RelationValue
source§fn eq(&self, other: &RelationValue) -> bool
fn eq(&self, other: &RelationValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RelationValue
impl Serialize for RelationValue
impl Eq for RelationValue
impl StructuralEq for RelationValue
impl StructuralPartialEq for RelationValue
Auto Trait Implementations§
impl RefUnwindSafe for RelationValue
impl Send for RelationValue
impl Sync for RelationValue
impl Unpin for RelationValue
impl UnwindSafe for RelationValue
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<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.