google_maps 3.9.5

An unofficial Google Maps Platform client library for the Rust programming language.
Documentation
impl crate::places::place_search::text_search::Request<'_> {
    /// Adds the page token parameter to the Places API _Text Search_ query.
    ///
    /// ## Arguments
    ///
    /// * `pagetoken` ‧ Returns up to 20 results from a previously run search.
    ///   Setting a `pagetoken` parameter will execute a search with the same
    ///   parameters used previously — all parameters other than pagetoken will
    ///   be ignored.
    #[must_use] pub fn with_pagetoken(
        mut self,
        pagetoken: impl Into<String>
    ) -> Self {
        // Set page token in Request struct.
        self.pagetoken = Some(pagetoken.into());
        // Return modified Request struct to caller.
        self
    } // fn
} // impl