pub struct UpdateDocumentDto {
pub id: u64,
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: u64§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<UpdateDocumentDto, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateDocumentDto, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Document> for UpdateDocumentDto
impl From<Document> for UpdateDocumentDto
Source§fn from(entity: Document) -> UpdateDocumentDto
fn from(entity: Document) -> UpdateDocumentDto
Converts to this type from the input type.
Source§impl From<DocumentDto> for UpdateDocumentDto
impl From<DocumentDto> for UpdateDocumentDto
Source§fn from(dto: DocumentDto) -> UpdateDocumentDto
fn from(dto: DocumentDto) -> UpdateDocumentDto
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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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