[][src]Enum ena::sql::YotsubaStatement

pub enum YotsubaStatement {
    InitSchema,
    InitType,
    InitMetadata,
    InitBoard,
    InitViews,
    UpdateMetadata,
    UpdateThread,
    Delete,
    UpdateDeleteds,
    UpdateHashMedia,
    UpdateHashThumbs,
    Medias,
    Threads,
    ThreadsModified,
    ThreadsCombined,
    Metadata,
}

List of actions that can be done in relation to a database.

Variants

InitSchema
InitType
InitMetadata
InitBoard
InitViews
UpdateMetadata
UpdateThread
Delete
UpdateDeleteds
UpdateHashMedia
UpdateHashThumbs
Medias
Threads
ThreadsModified
ThreadsCombined
Metadata

Get the threads/archive for a board from the metadata cache

Implementations

impl YotsubaStatement[src]

pub fn is_thumbs(&self) -> bool[src]

Return whether if thumbs or not

pub fn is_thumbs_val(&self) -> YotsubaStatement[src]

Return the enum if thumb

pub fn is_media(&self) -> bool[src]

Trait Implementations

impl Add<YotsubaStatement> for YotsubaStatement[src]

type Output = u8

The resulting type after applying the + operator.

impl Clone for YotsubaStatement[src]

impl Copy for YotsubaStatement[src]

impl Debug for YotsubaStatement[src]

impl Display for YotsubaStatement[src]

impl Eq for YotsubaStatement[src]

impl Hash for YotsubaStatement[src]

impl IntoEnumIterator for YotsubaStatement[src]

type Iterator = YotsubaStatementEnumIterator

Type of the iterator over the variants.

impl PartialEq<YotsubaStatement> for YotsubaStatement[src]

impl StructuralEq for YotsubaStatement[src]

impl StructuralPartialEq for YotsubaStatement[src]

Auto Trait Implementations

impl RefUnwindSafe for YotsubaStatement

impl Send for YotsubaStatement

impl Sync for YotsubaStatement

impl Unpin for YotsubaStatement

impl UnwindSafe for YotsubaStatement

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> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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