pub struct InMemoryFfzApi { /* private fields */ }Implementations§
Source§impl InMemoryFfzApi
impl InMemoryFfzApi
pub fn new() -> Self
pub fn with_global(self, sets: FfzGlobalEmoteSets) -> Self
pub fn insert_room( &mut self, twitch_id: impl Into<String>, room: FfzRoomEmoteSets, )
Trait Implementations§
Source§impl Clone for InMemoryFfzApi
impl Clone for InMemoryFfzApi
Source§fn clone(&self) -> InMemoryFfzApi
fn clone(&self) -> InMemoryFfzApi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for InMemoryFfzApi
impl Default for InMemoryFfzApi
Source§fn default() -> InMemoryFfzApi
fn default() -> InMemoryFfzApi
Returns the “default value” for a type. Read more
Source§impl FfzApi for InMemoryFfzApi
impl FfzApi for InMemoryFfzApi
fn global_emote_sets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<FfzGlobalEmoteSets, FfzError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn room_emote_sets_by_twitch_id<'life0, 'life1, 'async_trait>(
&'life0 self,
twitch_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<FfzRoomEmoteSets, FfzError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for InMemoryFfzApi
impl RefUnwindSafe for InMemoryFfzApi
impl Send for InMemoryFfzApi
impl Sync for InMemoryFfzApi
impl Unpin for InMemoryFfzApi
impl UnsafeUnpin for InMemoryFfzApi
impl UnwindSafe for InMemoryFfzApi
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