[][src]Enum places::bookmark_sync::store::UrlOrPlaceIdFragment

enum UrlOrPlaceIdFragment {
    Url(&'static str),
    PlaceId(&'static str),
}

A helper that interpolates a SQL expression for querying a local item's URL. Note that the &'static str for each variant specifies the name of the column containing the URL or ID, not the URL or ID itself.

Variants

Url(&'static str)

The name of the column containing the URL. This avoids a subquery if a column for the URL already exists in the query.

PlaceId(&'static str)

The name of the column containing the Place ID. This writes out a subquery to look up the URL.

Trait Implementations

impl Display for UrlOrPlaceIdFragment[src]

Auto Trait Implementations

impl RefUnwindSafe for UrlOrPlaceIdFragment

impl Send for UrlOrPlaceIdFragment

impl Sync for UrlOrPlaceIdFragment

impl Unpin for UrlOrPlaceIdFragment

impl UnwindSafe for UrlOrPlaceIdFragment

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,