pub struct MiscApi { /* private fields */ }Expand description
Misc namespace for endpoints that don’t belong to a larger group.
Implementations§
Source§impl MiscApi
impl MiscApi
Sourcepub fn other_size(
&self,
event_id: u64,
user_address: impl Into<String>,
) -> Request<Vec<OtherSize>, DataApiError>
pub fn other_size( &self, event_id: u64, user_address: impl Into<String>, ) -> Request<Vec<OtherSize>, DataApiError>
Get the “Other” size for an augmented neg-risk event and user
(GET /other).
event_id is the Gamma event ID of the augmented neg-risk event.
Sourcepub fn revisions(&self, question_id: impl Into<String>) -> ListRevisions
pub fn revisions(&self, question_id: impl Into<String>) -> ListRevisions
Get moderated revisions for a question (GET /revisions).
question_id is a 32-byte hash (0x + 64 hex).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for MiscApi
impl !UnwindSafe for MiscApi
impl Freeze for MiscApi
impl Send for MiscApi
impl Sync for MiscApi
impl Unpin for MiscApi
impl UnsafeUnpin for MiscApi
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