pub struct UpdateBlockDto {Show 16 fields
pub id: EntityId,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub text_length: i64,
pub document_position: i64,
pub plain_text: String,
pub fmt_alignment: Option<Alignment>,
pub fmt_top_margin: Option<i64>,
pub fmt_bottom_margin: Option<i64>,
pub fmt_left_margin: Option<i64>,
pub fmt_right_margin: Option<i64>,
pub fmt_heading_level: Option<i64>,
pub fmt_indent: Option<i64>,
pub fmt_text_indent: Option<i64>,
pub fmt_marker: Option<MarkerType>,
pub fmt_tab_positions: Vec<i64>,
}Fields§
§id: EntityId§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§text_length: i64§document_position: i64§plain_text: String§fmt_alignment: Option<Alignment>§fmt_top_margin: Option<i64>§fmt_bottom_margin: Option<i64>§fmt_left_margin: Option<i64>§fmt_right_margin: Option<i64>§fmt_heading_level: Option<i64>§fmt_indent: Option<i64>§fmt_text_indent: Option<i64>§fmt_marker: Option<MarkerType>§fmt_tab_positions: Vec<i64>Trait Implementations§
Source§impl Clone for UpdateBlockDto
impl Clone for UpdateBlockDto
Source§fn clone(&self) -> UpdateBlockDto
fn clone(&self) -> UpdateBlockDto
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 UpdateBlockDto
impl Debug for UpdateBlockDto
Source§impl Default for UpdateBlockDto
impl Default for UpdateBlockDto
Source§fn default() -> UpdateBlockDto
fn default() -> UpdateBlockDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateBlockDto
impl<'de> Deserialize<'de> for UpdateBlockDto
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 From<&UpdateBlockDto> for Block
impl From<&UpdateBlockDto> for Block
Source§fn from(dto: &UpdateBlockDto) -> Self
fn from(dto: &UpdateBlockDto) -> Self
Converts to this type from the input type.
Source§impl From<Block> for UpdateBlockDto
impl From<Block> for UpdateBlockDto
Source§impl From<BlockDto> for UpdateBlockDto
impl From<BlockDto> for UpdateBlockDto
Source§impl From<UpdateBlockDto> for Block
impl From<UpdateBlockDto> for Block
Source§fn from(dto: UpdateBlockDto) -> Self
fn from(dto: UpdateBlockDto) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UpdateBlockDto
impl PartialEq for UpdateBlockDto
Source§impl Serialize for UpdateBlockDto
impl Serialize for UpdateBlockDto
impl StructuralPartialEq for UpdateBlockDto
Auto Trait Implementations§
impl Freeze for UpdateBlockDto
impl RefUnwindSafe for UpdateBlockDto
impl Send for UpdateBlockDto
impl Sync for UpdateBlockDto
impl Unpin for UpdateBlockDto
impl UnsafeUnpin for UpdateBlockDto
impl UnwindSafe for UpdateBlockDto
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