pub struct UpdateDocumentDto {
pub id: EntityId,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub title: String,
pub text_direction: TextDirection,
pub default_wrap_mode: WrapMode,
pub character_count: i64,
pub block_count: i64,
}Fields§
§id: EntityId§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§title: String§text_direction: TextDirection§default_wrap_mode: WrapMode§character_count: i64§block_count: i64Trait Implementations§
Source§impl Clone for UpdateDocumentDto
impl Clone for UpdateDocumentDto
Source§fn clone(&self) -> UpdateDocumentDto
fn clone(&self) -> UpdateDocumentDto
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 UpdateDocumentDto
impl Debug for UpdateDocumentDto
Source§impl Default for UpdateDocumentDto
impl Default for UpdateDocumentDto
Source§fn default() -> UpdateDocumentDto
fn default() -> UpdateDocumentDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateDocumentDto
impl<'de> Deserialize<'de> for UpdateDocumentDto
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<&UpdateDocumentDto> for Document
impl From<&UpdateDocumentDto> for Document
Source§fn from(dto: &UpdateDocumentDto) -> Self
fn from(dto: &UpdateDocumentDto) -> Self
Converts to this type from the input type.
Source§impl From<Document> for UpdateDocumentDto
impl From<Document> for UpdateDocumentDto
Source§impl From<DocumentDto> for UpdateDocumentDto
impl From<DocumentDto> for UpdateDocumentDto
Source§fn from(dto: DocumentDto) -> Self
fn from(dto: DocumentDto) -> Self
Converts to this type from the input type.
Source§impl From<UpdateDocumentDto> for Document
impl From<UpdateDocumentDto> for Document
Source§fn from(dto: UpdateDocumentDto) -> Self
fn from(dto: UpdateDocumentDto) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UpdateDocumentDto
impl PartialEq for UpdateDocumentDto
Source§impl Serialize for UpdateDocumentDto
impl Serialize for UpdateDocumentDto
impl StructuralPartialEq for UpdateDocumentDto
Auto Trait Implementations§
impl Freeze for UpdateDocumentDto
impl RefUnwindSafe for UpdateDocumentDto
impl Send for UpdateDocumentDto
impl Sync for UpdateDocumentDto
impl Unpin for UpdateDocumentDto
impl UnsafeUnpin for UpdateDocumentDto
impl UnwindSafe for UpdateDocumentDto
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