pub struct PageUrlProperty {
pub id: Option<String>,
pub url: Option<String>,
}
Expand description
https://developers.notion.com/reference/page-property-values#url
$.['*'].id
: An underlying identifier for the property.id
remains constant when the property name changes.$.['*'].type
: Always"url"
$.['*'].url
: A string that describes a web address.
Note: The ['*']
part represents the column name you set when creating the database.
Example url page property value
{
"URL": {
"type": "url",
"id": "h_AH",
"url": "https://developers.notion.com/reference/page-property-values#url"
}
}
Fields§
§id: Option<String>
An underlying identifier for the property.
id
remains constant when the property name changes.
url: Option<String>
A string that describes a web address.
Implementations§
Source§impl PageUrlProperty
impl PageUrlProperty
Trait Implementations§
Source§impl Clone for PageUrlProperty
impl Clone for PageUrlProperty
Source§fn clone(&self) -> PageUrlProperty
fn clone(&self) -> PageUrlProperty
Returns a duplicate 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 PageUrlProperty
impl Debug for PageUrlProperty
Source§impl Default for PageUrlProperty
impl Default for PageUrlProperty
Source§fn default() -> PageUrlProperty
fn default() -> PageUrlProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageUrlProperty
impl<'de> Deserialize<'de> for PageUrlProperty
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 PageUrlProperty
impl Display for PageUrlProperty
Source§impl<T> From<T> for PageUrlProperty
impl<T> From<T> for PageUrlProperty
Source§impl PartialEq for PageUrlProperty
impl PartialEq for PageUrlProperty
Source§impl Serialize for PageUrlProperty
impl Serialize for PageUrlProperty
impl StructuralPartialEq for PageUrlProperty
Auto Trait Implementations§
impl Freeze for PageUrlProperty
impl RefUnwindSafe for PageUrlProperty
impl Send for PageUrlProperty
impl Sync for PageUrlProperty
impl Unpin for PageUrlProperty
impl UnwindSafe for PageUrlProperty
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