pub struct SyncRegistration {
pub role: ModelRole,
pub name: &'static str,
pub version: u32,
pub schema: TableSchema,
pub fields: Vec<SyncField>,
pub protected_columns: Vec<&'static str>,
pub json_columns: Vec<&'static str>,
pub revision: &'static str,
pub updated_at: &'static str,
pub deleted_at: &'static str,
pub scope: &'static str,
}Expand description
Runtime-independent registration consumed by che-sync.
Fields§
§role: ModelRole§name: &'static str§version: u32§schema: TableSchema§fields: Vec<SyncField>§protected_columns: Vec<&'static str>§json_columns: Vec<&'static str>§revision: &'static str§updated_at: &'static str§deleted_at: &'static str§scope: &'static strImplementations§
Trait Implementations§
Source§impl Clone for SyncRegistration
impl Clone for SyncRegistration
Source§impl Debug for SyncRegistration
impl Debug for SyncRegistration
impl Eq for SyncRegistration
Source§impl PartialEq for SyncRegistration
impl PartialEq for SyncRegistration
impl StructuralPartialEq for SyncRegistration
Auto Trait Implementations§
impl Freeze for SyncRegistration
impl RefUnwindSafe for SyncRegistration
impl Send for SyncRegistration
impl Sync for SyncRegistration
impl Unpin for SyncRegistration
impl UnsafeUnpin for SyncRegistration
impl UnwindSafe for SyncRegistration
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