pub struct LinkDelta {
pub edit: EditMode,
pub id: Option<i64>,
pub title: String,
pub target: String,
pub code: String,
pub author: i64,
pub created_at: Option<NaiveDateTime>,
}
Expand description
The Struct that is responsible for creating and editing links.
Fields§
§edit: EditMode
§id: Option<i64>
§title: String
§target: String
§code: String
§created_at: Option<NaiveDateTime>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkDelta
impl<'de> Deserialize<'de> for LinkDelta
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 LinkDelta
impl RefUnwindSafe for LinkDelta
impl Send for LinkDelta
impl Sync for LinkDelta
impl Unpin for LinkDelta
impl UnwindSafe for LinkDelta
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