pub struct DataForSeoLabsLocation {
pub location_code: Option<i32>,
pub location_name: Option<String>,
pub location_code_parent: Option<i32>,
pub country_iso_code: Option<String>,
pub location_type: Option<String>,
pub available_languages: Option<Vec<DataForSeoLabsLanguage>>,
}Expand description
A location supported by the Labs API, with the languages available for it. See https://docs.dataforseo.com/v3/dataforseo_labs/locations_and_languages/.
Fields§
§location_code: Option<i32>Location code (e.g. 2840); alternative to location_name.
location_name: Option<String>Full location name (e.g. "United States"); alternative to location_code.
location_code_parent: Option<i32>Code of the parent location.
country_iso_code: Option<String>ISO country code of the location.
location_type: Option<String>Type of the location (e.g. "Country", "City").
available_languages: Option<Vec<DataForSeoLabsLanguage>>Languages available for this location.
Trait Implementations§
Source§impl Clone for DataForSeoLabsLocation
impl Clone for DataForSeoLabsLocation
Source§impl Debug for DataForSeoLabsLocation
impl Debug for DataForSeoLabsLocation
Source§impl Default for DataForSeoLabsLocation
impl Default for DataForSeoLabsLocation
Source§impl<'de> Deserialize<'de> for DataForSeoLabsLocation
impl<'de> Deserialize<'de> for DataForSeoLabsLocation
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 DataForSeoLabsLocation
impl RefUnwindSafe for DataForSeoLabsLocation
impl Send for DataForSeoLabsLocation
impl Sync for DataForSeoLabsLocation
impl Unpin for DataForSeoLabsLocation
impl UnsafeUnpin for DataForSeoLabsLocation
impl UnwindSafe for DataForSeoLabsLocation
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