[−][src]Struct city_time_zone_sqlite::Repo
Trait Implementations
impl TraitRepoD01 for Repo
[src]
fn d01_insert(
&self,
country: &str,
name: &str,
lat: f32,
lng: f32
) -> Result<String, AppError>
[src]
&self,
country: &str,
name: &str,
lat: f32,
lng: f32
) -> Result<String, AppError>
fn d01_search(&self, search: &str) -> Result<Vec<DtoCitys>, AppError>
[src]
Search
let d05_recs special because :
https://docs.diesel.rs/diesel/associations/index.html
Associations in Diesel are always child-to-parent. You can declare an association between two records with #[belongs_to]. Unlike other ORMs, Diesel has no concept of #[has_many] -------- Other technics for join belonging_to resut
let d01_rec = d01_citys
.limit(5)
.load::
fn d01_search_compact(
&self,
search: &str
) -> Result<Vec<DtoCitysCompact>, AppError>
[src]
&self,
search: &str
) -> Result<Vec<DtoCitysCompact>, AppError>
Search for web speed query without unececary field like id -> uuid
impl TraitRepoD02 for Repo
[src]
impl TraitRepoD03 for Repo
[src]
fn d03_insert(&self, offset: f32, text: &str) -> Result<String, AppError>
[src]
fn d03_find_all(&self) -> Result<Vec<D03TimeZoneInfo>, AppError>
[src]
Find all d03 records for a list of timezone with offset
impl TraitRepoD04 for Repo
[src]
fn d04_insert(
&self,
d02_time_zone_utc_id: &str,
d03_time_zone_info_id: &str
) -> Result<(), AppError>
[src]
&self,
d02_time_zone_utc_id: &str,
d03_time_zone_info_id: &str
) -> Result<(), AppError>
impl TraitRepoD05 for Repo
[src]
impl TraitRepoUtils for Repo
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Repo
impl Send for Repo
impl !Sync for Repo
impl Unpin for Repo
impl UnwindSafe for Repo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,