mwseaql::core

Enum Linktarget

Source
#[non_exhaustive]
pub enum Linktarget { Table, Id, Namespace, Title, }
Expand description

linktarget table

Documentation may be available on mediawiki.org.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Table

§

Id

lt_id column

§

Namespace

lt_namespace column

§

Title

lt_title column

Trait Implementations§

Source§

impl AsRef<str> for Linktarget

Source§

fn as_ref(&self) -> &'static str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for Linktarget

Source§

fn clone(&self) -> Linktarget

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Iden for Linktarget

Source§

fn prepare(&self, s: &mut dyn Write, q: Quote)

Source§

fn unquoted(&self, s: &mut dyn Write)

§

fn quoted(&self, q: Quote) -> String

§

fn to_string(&self) -> String

Source§

impl IdenStatic for Linktarget

Source§

fn as_str(&self) -> &'static str

Source§

impl Copy for Linktarget

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<I> IdenList for I
where I: IntoIden,

§

type IntoIter = Once<SeaRc<dyn Iden>>

§

fn into_iter(self) -> <I as IdenList>::IntoIter

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> IntoColumnRef for T
where T: 'static + IntoIden,

§

fn into_column_ref(self) -> ColumnRef

§

impl<T> IntoIden for T
where T: 'static + Iden,

§

fn into_iden(self) -> SeaRc<dyn Iden>

§

impl<I> IntoIndexColumn for I
where I: IntoIden,

§

fn into_index_column(self) -> IndexColumn

§

impl<T> IntoTableRef for T
where T: 'static + IntoIden,

§

fn into_table_ref(self) -> TableRef

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.