Struct google_docs1::api::Location
source · pub struct Location {
pub index: Option<i32>,
pub segment_id: Option<String>,
}
Expand description
A particular location in the document.
This type is not used in any activity, and only used as part of another schema.
Fields§
§index: Option<i32>
The zero-based index, in UTF-16 code units. The index is relative to the beginning of the segment specified by segment_id.
segment_id: Option<String>
The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document’s body.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Location
impl<'de> Deserialize<'de> for Location
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 Part for Location
Auto Trait Implementations§
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
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