[−][src]Struct wallabag_api::types::PatchEntry
A struct representing an entry to be changed. Fields here are the only fields that can be modified directly via the api.
Setting a field to None
causes the field to not be modified.
Fields
title: Option<String>
List of tag labels as strings. Commas in tag labels are valid but discouraged.
archive: Option<bool>
starred: Option<bool>
public: Option<bool>
content: Option<String>
language: Option<String>
preview_picture: Option<String>
published_at: Option<DateTime<Utc>>
Formatted as "name 1, name 2"
origin_url: Option<String>
Trait Implementations
impl Debug for PatchEntry
[src]
impl Default for PatchEntry
[src]
Use this as a convenience. This allows doing something like the following instead of needing to
explicitly setting each ignored value to None
:
let archive_it = PatchEntry { archive: Some(true), .. Default::default() };
impl<'de> Deserialize<'de> for PatchEntry
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'_> From<&'_ Entry> for PatchEntry
[src]
Convert an Entry to a set of changes ready for sending to the api.
impl Serialize for PatchEntry
[src]
Auto Trait Implementations
impl RefUnwindSafe for PatchEntry
impl Send for PatchEntry
impl Sync for PatchEntry
impl Unpin for PatchEntry
impl UnwindSafe for PatchEntry
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,