[][src]Struct news_flash::models::url::Url

pub struct Url(_);

Implementations

impl Url[src]

pub fn new(url: Url) -> Self[src]

pub fn parse(url: &str) -> Result<Self, ModelError>[src]

pub fn get(&self) -> Url[src]

pub fn host(&self) -> Option<&str>[src]

Trait Implementations

impl<'expr> AsExpression<Nullable<Text>> for &'expr Url[src]

type Expression = Bound<Nullable<Text>, Self>

The expression being returned

impl AsExpression<Nullable<Text>> for Url[src]

type Expression = Bound<Nullable<Text>, Self>

The expression being returned

impl<'expr> AsExpression<Text> for &'expr Url[src]

type Expression = Bound<Text, Self>

The expression being returned

impl AsExpression<Text> for Url[src]

type Expression = Bound<Text, Self>

The expression being returned

impl Clone for Url[src]

impl Debug for Url[src]

impl Display for Url[src]

impl Eq for Url[src]

impl FromSql<Text, Sqlite> for Url[src]

impl<__ST, __DB> FromSqlRow<__ST, __DB> for Url where
    __DB: Backend,
    Self: FromSql<__ST, __DB>, 
[src]

impl Hash for Url[src]

impl PartialEq<Url> for Url[src]

impl<__ST, __DB> Queryable<__ST, __DB> for Url where
    __DB: Backend,
    Self: FromSql<__ST, __DB>, 
[src]

type Row = Self

The Rust type you'd like to map from. Read more

impl StructuralEq for Url[src]

impl StructuralPartialEq for Url[src]

impl<__DB> ToSql<Nullable<Text>, __DB> for Url where
    __DB: Backend,
    Self: ToSql<Text, __DB>, 
[src]

impl ToSql<Text, Sqlite> for Url[src]

Auto Trait Implementations

impl RefUnwindSafe for Url

impl Send for Url

impl Sync for Url

impl Unpin for Url

impl UnwindSafe for Url

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> IntoSql for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,