pub struct ListComments { /* private fields */ }Expand description
Request builder for listing comments
Implementations§
Source§impl ListComments
impl ListComments
Sourcepub fn parent_entity_type(self, entity_type: impl Into<String>) -> Self
pub fn parent_entity_type(self, entity_type: impl Into<String>) -> Self
Filter by parent entity type (Event, Series, market)
Sourcepub fn parent_entity_id(self, id: i64) -> Self
pub fn parent_entity_id(self, id: i64) -> Self
Filter by parent entity ID
Sourcepub fn get_positions(self, include: bool) -> Self
pub fn get_positions(self, include: bool) -> Self
Include position data in response
Sourcepub fn holders_only(self, holders_only: bool) -> Self
pub fn holders_only(self, holders_only: bool) -> Self
Restrict results to position holders only
Auto Trait Implementations§
impl Freeze for ListComments
impl !RefUnwindSafe for ListComments
impl Send for ListComments
impl Sync for ListComments
impl Unpin for ListComments
impl !UnwindSafe for ListComments
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