pub struct LikesApi<'a, S: Storage + Clone> { /* private fields */ }Implementations§
Source§impl<S: Storage + Clone> LikesApi<'_, S>
impl<S: Storage + Clone> LikesApi<'_, S>
pub async fn limit(&self) -> Result<LikeLimit, HingeError>
pub async fn list(&self) -> Result<LikesV2Response, HingeError>
pub async fn list_raw(&self) -> Result<Value, HingeError>
pub async fn subject(&self, subject_id: &str) -> Result<LikeItemV2, HingeError>
pub async fn match_note( &self, subject_id: &str, ) -> Result<MatchNoteResponse, HingeError>
Auto Trait Implementations§
impl<'a, S> Freeze for LikesApi<'a, S>
impl<'a, S> !RefUnwindSafe for LikesApi<'a, S>
impl<'a, S> Send for LikesApi<'a, S>where
S: Send,
impl<'a, S> Sync for LikesApi<'a, S>where
S: Sync,
impl<'a, S> Unpin for LikesApi<'a, S>
impl<'a, S> UnsafeUnpin for LikesApi<'a, S>
impl<'a, S> !UnwindSafe for LikesApi<'a, S>
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