pub struct UpdatePage {
pub ask_ai: Option<bool>,
pub content: Option<String>,
pub icon: Patch<String>,
pub label: Option<String>,
pub slug: Option<String>,
pub table_of_contents: Option<bool>,
}Expand description
UpdatePage
Fields§
§ask_ai: Option<bool>§content: Option<String>§icon: Patch<String>lucide icon name for guide, see https://lucide.dev/icons/ for complete list of options
label: Option<String>§slug: Option<String>§table_of_contents: Option<bool>Trait Implementations§
Source§impl Clone for UpdatePage
impl Clone for UpdatePage
Source§fn clone(&self) -> UpdatePage
fn clone(&self) -> UpdatePage
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 UpdatePage
impl Debug for UpdatePage
Source§impl Default for UpdatePage
impl Default for UpdatePage
Source§fn default() -> UpdatePage
fn default() -> UpdatePage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdatePage
impl<'de> Deserialize<'de> for UpdatePage
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
Auto Trait Implementations§
impl Freeze for UpdatePage
impl RefUnwindSafe for UpdatePage
impl Send for UpdatePage
impl Sync for UpdatePage
impl Unpin for UpdatePage
impl UnsafeUnpin for UpdatePage
impl UnwindSafe for UpdatePage
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