pub struct UpdateDto {
pub id: i32,
pub author: String,
pub publish: bool,
pub publish_location: Vec<PublishLocation>,
pub translations: Vec<ContentDto>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: i32§publish: bool§publish_location: Vec<PublishLocation>§translations: Vec<ContentDto>§created_at: String§updated_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for UpdateDto
impl<'de> Deserialize<'de> for UpdateDto
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 UpdateDto
impl RefUnwindSafe for UpdateDto
impl Send for UpdateDto
impl Sync for UpdateDto
impl Unpin for UpdateDto
impl UnwindSafe for UpdateDto
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