Struct golem_client::whitelist::WhitelistLive
source · pub struct WhitelistLive {
pub base_url: Url,
}
Fields§
§base_url: Url
Trait Implementations§
source§impl Clone for WhitelistLive
impl Clone for WhitelistLive
source§fn clone(&self) -> WhitelistLive
fn clone(&self) -> WhitelistLive
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WhitelistLive
impl Debug for WhitelistLive
source§impl Whitelist for WhitelistLive
impl Whitelist for WhitelistLive
fn is_enabled<'life0, 'life1, 'async_trait>( &'life0 self, authorization: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<bool, WhitelistError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn set_enabled<'life0, 'life1, 'async_trait>( &'life0 self, field0: bool, authorization: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<(), WhitelistError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn get_whitelist<'life0, 'life1, 'async_trait>( &'life0 self, skip: i32, limit: i32, authorization: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Vec<WhitelistEmail>, WhitelistError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn count_whitelist<'life0, 'life1, 'async_trait>( &'life0 self, authorization: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<i64, WhitelistError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn add_to_whitelist<'life0, 'life1, 'async_trait>( &'life0 self, field0: Vec<String>, authorization: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<(), WhitelistError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn remove_from_whitelist<'life0, 'life1, 'async_trait>( &'life0 self, field0: Vec<String>, authorization: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<(), WhitelistError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for WhitelistLive
impl Send for WhitelistLive
impl Sync for WhitelistLive
impl Unpin for WhitelistLive
impl UnwindSafe for WhitelistLive
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