pub struct UserLifecycleRuleHandler { /* private fields */ }
Implementations§
Source§impl UserLifecycleRuleHandler
impl UserLifecycleRuleHandler
pub fn new(client: FilesClient) -> Self
pub async fn list( &self, cursor: Option<String>, per_page: Option<i64>, ) -> Result<(Vec<UserLifecycleRuleEntity>, PaginationInfo)>
pub async fn get(&self, id: i64) -> Result<UserLifecycleRuleEntity>
pub async fn create(&self, params: Value) -> Result<UserLifecycleRuleEntity>
pub async fn update( &self, id: i64, params: Value, ) -> Result<UserLifecycleRuleEntity>
pub async fn delete(&self, id: i64) -> Result<()>
Auto Trait Implementations§
impl Freeze for UserLifecycleRuleHandler
impl !RefUnwindSafe for UserLifecycleRuleHandler
impl Send for UserLifecycleRuleHandler
impl Sync for UserLifecycleRuleHandler
impl Unpin for UserLifecycleRuleHandler
impl !UnwindSafe for UserLifecycleRuleHandler
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