pub struct PageMultiSelectProperty {
pub id: Option<String>,
pub multi_select: Vec<Select>,
}
Expand description
https://developers.notion.com/reference/page-property-values#multi-select
$.['*'].id
: An underlying identifier for the property.id
remains constant when the property name changes.$.['*'].type
: Always"multi_select"
$.['*'].multi_select
: Array of Select object
Note: The ['*']
part represents the column name you set when creating the database.
Example multi_select page property value
{
"Multi-select": {
"id": "_bnY",
"type": "multi_select",
"multi_select": [
{
"id": "959ba3e3-5a64-4ee6-864b-9e94ddc024d5",
"name": "HTML",
"color": "orange"
},
{
"id": "f22b05c9-0225-4dee-b25b-db7e63a47e0b",
"name": "CSS",
"color": "blue"
}
]
}
}
Fields§
§id: Option<String>
An underlying identifier for the property.
id
remains constant when the property name changes.
multi_select: Vec<Select>
Array of Select object
Implementations§
Source§impl PageMultiSelectProperty
impl PageMultiSelectProperty
Trait Implementations§
Source§impl Clone for PageMultiSelectProperty
impl Clone for PageMultiSelectProperty
Source§fn clone(&self) -> PageMultiSelectProperty
fn clone(&self) -> PageMultiSelectProperty
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 PageMultiSelectProperty
impl Debug for PageMultiSelectProperty
Source§impl Default for PageMultiSelectProperty
impl Default for PageMultiSelectProperty
Source§fn default() -> PageMultiSelectProperty
fn default() -> PageMultiSelectProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageMultiSelectProperty
impl<'de> Deserialize<'de> for PageMultiSelectProperty
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 PageMultiSelectProperty
impl Display for PageMultiSelectProperty
Source§impl PartialEq for PageMultiSelectProperty
impl PartialEq for PageMultiSelectProperty
Source§impl Serialize for PageMultiSelectProperty
impl Serialize for PageMultiSelectProperty
impl StructuralPartialEq for PageMultiSelectProperty
Auto Trait Implementations§
impl Freeze for PageMultiSelectProperty
impl RefUnwindSafe for PageMultiSelectProperty
impl Send for PageMultiSelectProperty
impl Sync for PageMultiSelectProperty
impl Unpin for PageMultiSelectProperty
impl UnwindSafe for PageMultiSelectProperty
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