pub struct LocationData {
pub address: LocationAddress,
pub created_at: DateTime<Utc>,
pub geo_coordinates: GeoCoordinates,
pub geo_service_verified: GeoServiceVerified,
pub is_jobsite: bool,
pub is_owner: bool,
pub name: String,
pub owner_id: i32,
pub updated_at: DateTime<Utc>,
pub user_verified: bool,
/* private fields */
}Expand description
Data about a location in a Ring account.
Fields§
§address: LocationAddressThe address of the location.
created_at: DateTime<Utc>When the location was first created.
geo_coordinates: GeoCoordinatesGeographic coordinates of the location.
geo_service_verified: GeoServiceVerifiedWhether the location’s geographic coordinates are verified.
is_jobsite: boolWhether the location is a job site.
is_owner: boolWhether the location is being shared from a different account.
name: StringThe name of the location.
owner_id: i32The ID of the owner of the location.
updated_at: DateTime<Utc>When the location was last updated.
user_verified: boolWhether the user is verified.
Trait Implementations§
Source§impl Debug for LocationData
impl Debug for LocationData
Source§impl<'de> Deserialize<'de> for LocationData
impl<'de> Deserialize<'de> for LocationData
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 LocationData
impl RefUnwindSafe for LocationData
impl Send for LocationData
impl Sync for LocationData
impl Unpin for LocationData
impl UnwindSafe for LocationData
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