pub struct GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange {
pub end_offset: Option<i32>,
pub start_offset: Option<i32>,
}Expand description
Identifies a substring within a given text.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_offset: Option<i32>Zero-based offset of the last Unicode character (exclusive).
start_offset: Option<i32>Zero-based offset of the first Unicode character of the string (inclusive).
Trait Implementations§
Source§impl Clone for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
impl Clone for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
Source§fn clone(
&self,
) -> GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
fn clone( &self, ) -> GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
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 Default for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
impl Default for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
Source§fn default() -> GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
fn default() -> GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
impl<'de> Deserialize<'de> for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
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 GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
Auto Trait Implementations§
impl Freeze for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
impl RefUnwindSafe for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
impl Send for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
impl Sync for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
impl Unpin for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
impl UnwindSafe for GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange
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