pub struct SelectSync { /* private fields */ }Implementations§
Source§impl SelectSync
impl SelectSync
pub fn new() -> SelectSync
pub fn get_exclusions(&self) -> &HashMap<String, HashMap<String, u64>>
pub fn get_max_records(&self) -> Option<u16>
pub fn get_schools(&self) -> &HashMap<String, SchoolEntry>
pub fn add_school_sync( &mut self, school_id: String, synced_at: u64, ) -> Result<(), Error>
pub fn add_term_sync( &mut self, school_id: String, term_collection_id: String, synced_at: u64, ) -> Result<(), Error>
pub fn add_exclusion( &mut self, school_id: String, term_collection_id: String, synced_at: u64, ) -> Result<(), Error>
Trait Implementations§
Source§impl Debug for SelectSync
impl Debug for SelectSync
Source§impl Default for SelectSync
impl Default for SelectSync
Source§fn default() -> SelectSync
fn default() -> SelectSync
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SelectSync
impl<'de> Deserialize<'de> for SelectSync
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SelectSync
impl RefUnwindSafe for SelectSync
impl Send for SelectSync
impl Sync for SelectSync
impl Unpin for SelectSync
impl UnsafeUnpin for SelectSync
impl UnwindSafe for SelectSync
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