Skip to main content

Present

Trait Present 

Source
pub trait Present {
    const INPUT: Input;
    const SEARCH: Search;

    // Required method
    fn csv(&self) -> String;
}

Required Associated Constants§

Required Methods§

Source

fn csv(&self) -> String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Present for String

Source§

const INPUT: Input = TEXT

Source§

const SEARCH: Search = crate::Search::Text

Source§

fn csv(&self) -> String

Source§

impl Present for Uuid

Source§

const INPUT: Input

Source§

const SEARCH: Search = crate::Search::Exact

Source§

fn csv(&self) -> String

Source§

impl Present for bool

Source§

const INPUT: Input

Source§

const SEARCH: Search = Search::Exact

Source§

fn csv(&self) -> String

Source§

impl Present for i16

Source§

const INPUT: Input = INTEGER

Source§

const SEARCH: Search = Search::Number

Source§

fn csv(&self) -> String

Source§

impl Present for i32

Source§

const INPUT: Input = INTEGER

Source§

const SEARCH: Search = Search::Number

Source§

fn csv(&self) -> String

Source§

impl Present for i64

Source§

const INPUT: Input = INTEGER

Source§

const SEARCH: Search = Search::Number

Source§

fn csv(&self) -> String

Source§

impl Present for u16

Source§

const INPUT: Input = INTEGER

Source§

const SEARCH: Search = Search::Number

Source§

fn csv(&self) -> String

Source§

impl Present for u32

Source§

const INPUT: Input = INTEGER

Source§

const SEARCH: Search = Search::Number

Source§

fn csv(&self) -> String

Source§

impl<T: Present> Present for Option<T>

Source§

const INPUT: Input = T::INPUT

Source§

const SEARCH: Search = T::SEARCH

Source§

fn csv(&self) -> String

Implementors§

Source§

impl Present for Currency

Source§

const INPUT: Input

Source§

const SEARCH: Search = crate::Search::Exact

Source§

impl Present for Email

Source§

const INPUT: Input

Source§

const SEARCH: Search = crate::Search::Exact

Source§

impl Present for Instant

The control shows and reads the app’s display zone (SOFIE_TIME_ZONE); a time a user types on their own wall clock belongs in LocalDateTime.

Source§

const INPUT: Input

Source§

const SEARCH: Search = Search::Time

Source§

impl Present for Money

Source§

const INPUT: Input

Source§

const SEARCH: Search = Search::Number

Source§

impl<T> Present for Secret<T>

Source§

const INPUT: Input

Source§

const SEARCH: Search = Search::Skipped

Source§

impl<V: SurfacesFromInner> Present for V