pub struct CreateBusinessParams {
pub name: String,
pub location_id: String,
pub email: Option<String>,
pub phone: Option<String>,
pub website: Option<String>,
pub address: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub postal_code: Option<String>,
pub country: Option<String>,
pub description: Option<String>,
}Fields§
§name: String§location_id: String§email: Option<String>§phone: Option<String>§website: Option<String>§address: Option<String>§city: Option<String>§state: Option<String>§postal_code: Option<String>§country: Option<String>§description: Option<String>Trait Implementations§
Source§impl Clone for CreateBusinessParams
impl Clone for CreateBusinessParams
Source§fn clone(&self) -> CreateBusinessParams
fn clone(&self) -> CreateBusinessParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateBusinessParams
impl Debug for CreateBusinessParams
Source§impl Default for CreateBusinessParams
impl Default for CreateBusinessParams
Source§fn default() -> CreateBusinessParams
fn default() -> CreateBusinessParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateBusinessParams
impl<'de> Deserialize<'de> for CreateBusinessParams
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 CreateBusinessParams
impl RefUnwindSafe for CreateBusinessParams
impl Send for CreateBusinessParams
impl Sync for CreateBusinessParams
impl Unpin for CreateBusinessParams
impl UnsafeUnpin for CreateBusinessParams
impl UnwindSafe for CreateBusinessParams
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