pub struct ServiceProvider {Show 15 fields
pub id: Uuid,
pub organization_id: Uuid,
pub company_name: String,
pub trade_category: TradeCategory,
pub specializations: Vec<String>,
pub service_zone_postal_codes: Vec<String>,
pub certifications: Vec<String>,
pub ipi_registration: Option<String>,
pub bce_number: Option<String>,
pub rating_avg: Option<f64>,
pub reviews_count: i32,
pub is_verified: bool,
pub public_profile_slug: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Fields§
§id: Uuid§organization_id: Uuid§company_name: String§trade_category: TradeCategory§specializations: Vec<String>§service_zone_postal_codes: Vec<String>§certifications: Vec<String>§ipi_registration: Option<String>§bce_number: Option<String>§rating_avg: Option<f64>§reviews_count: i32§is_verified: bool§public_profile_slug: String§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Implementations§
Trait Implementations§
Source§impl Clone for ServiceProvider
impl Clone for ServiceProvider
Source§fn clone(&self) -> ServiceProvider
fn clone(&self) -> ServiceProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<ServiceProvider> for ServiceProviderResponseDto
impl From<ServiceProvider> for ServiceProviderResponseDto
Source§fn from(provider: ServiceProvider) -> Self
fn from(provider: ServiceProvider) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServiceProvider
impl RefUnwindSafe for ServiceProvider
impl Send for ServiceProvider
impl Sync for ServiceProvider
impl Unpin for ServiceProvider
impl UnwindSafe for ServiceProvider
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.