pub struct ClientSchema {
pub version: i32,
pub tables: Vec<TableSchema>,
}Fields§
§version: i32§tables: Vec<TableSchema>Implementations§
Source§impl ClientSchema
impl ClientSchema
pub fn table(&self, name: &str) -> Option<&TableSchema>
Trait Implementations§
Source§impl Clone for ClientSchema
impl Clone for ClientSchema
Source§fn clone(&self) -> ClientSchema
fn clone(&self) -> ClientSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClientSchema
impl RefUnwindSafe for ClientSchema
impl Send for ClientSchema
impl Sync for ClientSchema
impl Unpin for ClientSchema
impl UnsafeUnpin for ClientSchema
impl UnwindSafe for ClientSchema
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more