Struct c3p0::C3p0JsonBuilder
source · [−]pub struct C3p0JsonBuilder<C3P0> {
pub id_field_name: String,
pub version_field_name: String,
pub data_field_name: String,
pub table_name: String,
pub schema_name: Option<String>,
/* private fields */
}
Fields
id_field_name: String
version_field_name: String
data_field_name: String
table_name: String
schema_name: Option<String>
Implementations
sourceimpl<C3P0> C3p0JsonBuilder<C3P0>
impl<C3P0> C3p0JsonBuilder<C3P0>
pub fn new<T>(table_name: T) -> C3p0JsonBuilder<C3P0> where
T: Into<String>,
pub fn with_id_field_name<T>(self, id_field_name: T) -> C3p0JsonBuilder<C3P0> where
T: Into<String>,
pub fn with_version_field_name<T>(
self,
version_field_name: T
) -> C3p0JsonBuilder<C3P0> where
T: Into<String>,
pub fn with_data_field_name<T>(self, data_field_name: T) -> C3p0JsonBuilder<C3P0> where
T: Into<String>,
pub fn with_schema_name<O>(self, schema_name: O) -> C3p0JsonBuilder<C3P0> where
O: Into<OptString>,
Trait Implementations
sourceimpl<C3P0> Clone for C3p0JsonBuilder<C3P0> where
C3P0: Clone,
impl<C3P0> Clone for C3p0JsonBuilder<C3P0> where
C3P0: Clone,
sourcefn clone(&self) -> C3p0JsonBuilder<C3P0>
fn clone(&self) -> C3p0JsonBuilder<C3P0>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<C3P0> RefUnwindSafe for C3p0JsonBuilder<C3P0> where
C3P0: RefUnwindSafe,
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,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more