pub struct Snippet {
pub id: Option<i32>,
pub site_id: Option<String>,
pub title: Option<String>,
pub general: Option<String>,
pub general_position: Option<String>,
pub goal: Option<String>,
pub goal_position: Option<String>,
}
Fields§
§id: Option<i32>
§site_id: Option<String>
§title: Option<String>
§general: Option<String>
§general_position: Option<String>
§goal: Option<String>
§goal_position: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snippet
impl<'de> Deserialize<'de> for Snippet
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
impl StructuralPartialEq for Snippet
Auto Trait Implementations§
impl Freeze for Snippet
impl RefUnwindSafe for Snippet
impl Send for Snippet
impl Sync for Snippet
impl Unpin for Snippet
impl UnwindSafe for Snippet
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