pub struct PbCollection { /* private fields */ }
Implementations§
Source§impl PbCollection
impl PbCollection
pub fn get_list(self, page: u16, per_page: u16) -> PbGetList
pub fn get_one(self, record_id: &str) -> PbViewRecord
pub fn create<T: Serialize>(self, record: T) -> PbCreateRecord<T>
pub fn update<T: Serialize>( self, record_id: &str, record: T, ) -> PbUpdateRecord<T>
pub fn delete(self, record_id: &str) -> PbDeleteRecord
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PbCollection
impl RefUnwindSafe for PbCollection
impl Send for PbCollection
impl Sync for PbCollection
impl Unpin for PbCollection
impl UnwindSafe for PbCollection
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