[][src]Struct c3p0_common::json::builder::C3p0JsonBuilder

pub struct C3p0JsonBuilder<C3P0: C3p0Pool> {
    pub id_field_name: String,
    pub version_field_name: String,
    pub data_field_name: String,
    pub table_name: String,
    pub schema_name: Option<String>,
    // some fields omitted
}

Fields

id_field_name: Stringversion_field_name: Stringdata_field_name: Stringtable_name: Stringschema_name: Option<String>

Methods

impl<C3P0: C3p0Pool> C3p0JsonBuilder<C3P0>[src]

pub fn new<T: Into<String>>(table_name: T) -> Self[src]

pub fn with_id_field_name<T: Into<String>>(self, id_field_name: T) -> Self[src]

pub fn with_version_field_name<T: Into<String>>(
    self,
    version_field_name: T
) -> Self
[src]

pub fn with_data_field_name<T: Into<String>>(self, data_field_name: T) -> Self[src]

pub fn with_schema_name<O: Into<OptString>>(self, schema_name: O) -> Self[src]

Trait Implementations

impl<C3P0: Clone + C3p0Pool> Clone for C3p0JsonBuilder<C3P0>[src]

Auto Trait Implementations

impl<C3P0> Send for C3p0JsonBuilder<C3P0> where
    C3P0: Send

impl<C3P0> Sync for C3p0JsonBuilder<C3P0> where
    C3P0: Sync

impl<C3P0> Unpin for C3p0JsonBuilder<C3P0> where
    C3P0: Unpin

impl<C3P0> UnwindSafe for C3p0JsonBuilder<C3P0> where
    C3P0: UnwindSafe

impl<C3P0> RefUnwindSafe for C3p0JsonBuilder<C3P0> where
    C3P0: RefUnwindSafe

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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