pub struct PageButtonProperty {
pub id: Option<String>,
pub button: HashMap<String, String>,
}
Expand description
$.['*'].id
: An underlying identifier for the property.id
remains constant when the property name changes.$.['*'].type
: Always"button"
$.['*'].button
: Always an empty object
Note: The ['*']
part represents the column name you set when creating the database.
Example button page property value
{
"Button": {
"id": "c%60qZ",
"type": "button",
"button": {}
}
}
Fields§
§id: Option<String>
An underlying identifier for the property.
id
remains constant when the property name changes.
Always "button"
Implementations§
Trait Implementations§
Source§impl Clone for PageButtonProperty
impl Clone for PageButtonProperty
Source§fn clone(&self) -> PageButtonProperty
fn clone(&self) -> PageButtonProperty
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 PageButtonProperty
impl Debug for PageButtonProperty
Source§impl Default for PageButtonProperty
impl Default for PageButtonProperty
Source§fn default() -> PageButtonProperty
fn default() -> PageButtonProperty
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageButtonProperty
impl<'de> Deserialize<'de> for PageButtonProperty
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 PageButtonProperty
impl Display for PageButtonProperty
Source§impl PartialEq for PageButtonProperty
impl PartialEq for PageButtonProperty
Source§impl Serialize for PageButtonProperty
impl Serialize for PageButtonProperty
impl Eq for PageButtonProperty
impl StructuralPartialEq for PageButtonProperty
Auto Trait Implementations§
impl Freeze for PageButtonProperty
impl RefUnwindSafe for PageButtonProperty
impl Send for PageButtonProperty
impl Sync for PageButtonProperty
impl Unpin for PageButtonProperty
impl UnwindSafe for PageButtonProperty
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