pub struct HighlightRequest {
pub text: String,
pub title: Option<String>,
pub author: Option<String>,
pub source_url: Option<String>,
pub source_type: Option<String>,
pub category: Option<String>,
pub note: Option<String>,
pub location: Option<i32>,
pub location_type: Option<String>,
pub highlighted_at: Option<String>,
pub highlight_url: Option<String>,
}Fields§
§text: String§title: Option<String>§source_url: Option<String>§source_type: Option<String>§category: Option<String>§note: Option<String>§location: Option<i32>§location_type: Option<String>§highlighted_at: Option<String>§highlight_url: Option<String>Trait Implementations§
Source§impl Clone for HighlightRequest
impl Clone for HighlightRequest
Source§fn clone(&self) -> HighlightRequest
fn clone(&self) -> HighlightRequest
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 HighlightRequest
impl Debug for HighlightRequest
Source§impl<'de> Deserialize<'de> for HighlightRequest
impl<'de> Deserialize<'de> for HighlightRequest
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 HighlightRequest
impl RefUnwindSafe for HighlightRequest
impl Send for HighlightRequest
impl Sync for HighlightRequest
impl Unpin for HighlightRequest
impl UnwindSafe for HighlightRequest
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