pub struct Location {
pub address_line_1: String,
pub address_line_2: String,
pub city: String,
pub state: String,
pub country: String,
pub postal_code: String,
}Expand description
A location of a guild. It is optional to set so some or all values may be empty strings.
Fields§
§address_line_1: StringFirst line of the guild address.
address_line_2: StringSecond line of the guild address.
city: StringCity where the guild is based.
state: StringState/province/county where the guild is based.
country: StringCountry where the guild is based.
postal_code: StringGuild address postal code.
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 StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
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