pub struct Apiv1WorkspaceMemoRelatedSetting {
pub disallow_public_visibility: Option<bool>,
pub display_with_update_time: Option<bool>,
pub content_length_limit: Option<i32>,
pub enable_auto_compact: Option<bool>,
pub enable_double_click_edit: Option<bool>,
pub enable_link_preview: Option<bool>,
pub enable_comment: Option<bool>,
}
Fields§
§disallow_public_visibility: Option<bool>
disallow_public_visibility disallows set memo as public visibility.
display_with_update_time: Option<bool>
display_with_update_time orders and displays memo with update time.
content_length_limit: Option<i32>
content_length_limit is the limit of content length. Unit is byte.
enable_auto_compact: Option<bool>
enable_auto_compact enables auto compact for large content.
enable_double_click_edit: Option<bool>
enable_double_click_edit enables editing on double click.
enable_link_preview: Option<bool>
enable_link_preview enables links preview.
enable_comment: Option<bool>
enable_comment enables comment.
Implementations§
Trait Implementations§
Source§impl Clone for Apiv1WorkspaceMemoRelatedSetting
impl Clone for Apiv1WorkspaceMemoRelatedSetting
Source§fn clone(&self) -> Apiv1WorkspaceMemoRelatedSetting
fn clone(&self) -> Apiv1WorkspaceMemoRelatedSetting
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 Default for Apiv1WorkspaceMemoRelatedSetting
impl Default for Apiv1WorkspaceMemoRelatedSetting
Source§fn default() -> Apiv1WorkspaceMemoRelatedSetting
fn default() -> Apiv1WorkspaceMemoRelatedSetting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Apiv1WorkspaceMemoRelatedSetting
impl<'de> Deserialize<'de> for Apiv1WorkspaceMemoRelatedSetting
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 for Apiv1WorkspaceMemoRelatedSetting
impl PartialEq for Apiv1WorkspaceMemoRelatedSetting
Source§fn eq(&self, other: &Apiv1WorkspaceMemoRelatedSetting) -> bool
fn eq(&self, other: &Apiv1WorkspaceMemoRelatedSetting) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for Apiv1WorkspaceMemoRelatedSetting
Auto Trait Implementations§
impl Freeze for Apiv1WorkspaceMemoRelatedSetting
impl RefUnwindSafe for Apiv1WorkspaceMemoRelatedSetting
impl Send for Apiv1WorkspaceMemoRelatedSetting
impl Sync for Apiv1WorkspaceMemoRelatedSetting
impl Unpin for Apiv1WorkspaceMemoRelatedSetting
impl UnwindSafe for Apiv1WorkspaceMemoRelatedSetting
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