pub struct Annotation {Show 17 fields
pub after_selected_text: Option<String>,
pub before_selected_text: Option<String>,
pub client_version_ranges: Option<AnnotationClientVersionRanges>,
pub created: Option<String>,
pub current_version_ranges: Option<AnnotationCurrentVersionRanges>,
pub data: Option<String>,
pub deleted: Option<bool>,
pub highlight_style: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub layer_id: Option<String>,
pub layer_summary: Option<AnnotationLayerSummary>,
pub page_ids: Option<Vec<String>>,
pub selected_text: Option<String>,
pub self_link: Option<String>,
pub updated: Option<String>,
pub volume_id: Option<String>,
}Expand description
There is no detailed description.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- annotations insert mylibrary (request|response)
- annotations update mylibrary (request|response)
Fields§
§after_selected_text: Option<String>Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
before_selected_text: Option<String>Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
client_version_ranges: Option<AnnotationClientVersionRanges>Selection ranges sent from the client.
created: Option<String>Timestamp for the created time of this annotation.
current_version_ranges: Option<AnnotationCurrentVersionRanges>Selection ranges for the most recent content version.
data: Option<String>User-created data for this annotation.
deleted: Option<bool>Indicates that this annotation is deleted.
highlight_style: Option<String>The highlight style for this annotation.
id: Option<String>Id of this annotation, in the form of a GUID.
kind: Option<String>Resource type.
layer_id: Option<String>The layer this annotation is for.
layer_summary: Option<AnnotationLayerSummary>no description provided
page_ids: Option<Vec<String>>Pages that this annotation spans.
selected_text: Option<String>Excerpt from the volume.
self_link: Option<String>URL to this resource.
updated: Option<String>Timestamp for the last time this annotation was modified.
volume_id: Option<String>The volume that this annotation belongs to.
Trait Implementations§
Source§impl Clone for Annotation
impl Clone for Annotation
Source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Annotation
impl Debug for Annotation
Source§impl Default for Annotation
impl Default for Annotation
Source§fn default() -> Annotation
fn default() -> Annotation
Source§impl<'de> Deserialize<'de> for Annotation
impl<'de> Deserialize<'de> for Annotation
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>,
Source§impl Serialize for Annotation
impl Serialize for Annotation
impl RequestValue for Annotation
impl ResponseResult for Annotation
Auto Trait Implementations§
impl Freeze for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnwindSafe for Annotation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more