pub struct ClientSchema {
pub tables: Vec<(String, ClientTable)>,
}Fields§
§tables: Vec<(String, ClientTable)>In the order they were sent.
Implementations§
Source§impl ClientSchema
impl ClientSchema
Sourcepub fn normalized(&self) -> ClientSchema
pub fn normalized(&self) -> ClientSchema
normalizeClientSchema: tables, columns, and each primary key sorted
by UTF-16 code unit, as JS sort() and < sort them.
Trait Implementations§
Source§impl Clone for ClientSchema
impl Clone for ClientSchema
Source§impl Debug for ClientSchema
impl Debug for ClientSchema
Source§impl Default for ClientSchema
impl Default for ClientSchema
Source§impl JsonCodable for ClientSchema
impl JsonCodable for ClientSchema
Source§impl PartialEq for ClientSchema
impl PartialEq for ClientSchema
impl StructuralPartialEq for ClientSchema
Auto Trait Implementations§
impl Forget for ClientSchema
impl Freeze for ClientSchema
impl Move 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