pub struct ListMessagesParams {Show 14 fields
pub created_before: Option<DateTime>,
pub created_since: Option<DateTime>,
pub direction: Option<MessageDirection>,
pub exclude_content_types: Option<String>,
pub order: Option<SortOrder>,
pub order_by: Option<TimestampOrderBy>,
pub page_size: Option<i64>,
pub page_token: Option<String>,
pub perspective_user_id: Option<String>,
pub platform: Option<Platform>,
pub resource_id: Option<String>,
pub space_id: Option<String>,
pub updated_before: Option<DateTime>,
pub updated_since: Option<DateTime>,
}Fields§
§created_before: Option<DateTime>§created_since: Option<DateTime>§direction: Option<MessageDirection>§exclude_content_types: Option<String>§order: Option<SortOrder>§order_by: Option<TimestampOrderBy>§page_size: Option<i64>§page_token: Option<String>§perspective_user_id: Option<String>§platform: Option<Platform>§resource_id: Option<String>§space_id: Option<String>§updated_before: Option<DateTime>§updated_since: Option<DateTime>Implementations§
Source§impl ListMessagesParams
impl ListMessagesParams
Sourcepub fn created_before(self, value: DateTime) -> Self
pub fn created_before(self, value: DateTime) -> Self
Set the createdBefore parameter.
Sourcepub fn created_since(self, value: DateTime) -> Self
pub fn created_since(self, value: DateTime) -> Self
Set the createdSince parameter.
Sourcepub fn direction(self, value: MessageDirection) -> Self
pub fn direction(self, value: MessageDirection) -> Self
Set the direction parameter.
Sourcepub fn exclude_content_types(self, value: String) -> Self
pub fn exclude_content_types(self, value: String) -> Self
Set the excludeContentTypes parameter.
Sourcepub fn order_by(self, value: TimestampOrderBy) -> Self
pub fn order_by(self, value: TimestampOrderBy) -> Self
Set the orderBy parameter.
Sourcepub fn page_token(self, value: String) -> Self
pub fn page_token(self, value: String) -> Self
Set the pageToken parameter.
Sourcepub fn perspective_user_id(self, value: String) -> Self
pub fn perspective_user_id(self, value: String) -> Self
Set the perspectiveUserId parameter.
Sourcepub fn resource_id(self, value: String) -> Self
pub fn resource_id(self, value: String) -> Self
Set the resourceId parameter.
Sourcepub fn updated_before(self, value: DateTime) -> Self
pub fn updated_before(self, value: DateTime) -> Self
Set the updatedBefore parameter.
Sourcepub fn updated_since(self, value: DateTime) -> Self
pub fn updated_since(self, value: DateTime) -> Self
Set the updatedSince parameter.
Trait Implementations§
Source§impl Clone for ListMessagesParams
impl Clone for ListMessagesParams
Source§impl Debug for ListMessagesParams
impl Debug for ListMessagesParams
Source§impl Default for ListMessagesParams
impl Default for ListMessagesParams
Auto Trait Implementations§
impl Freeze for ListMessagesParams
impl RefUnwindSafe for ListMessagesParams
impl Send for ListMessagesParams
impl Sync for ListMessagesParams
impl Unpin for ListMessagesParams
impl UnsafeUnpin for ListMessagesParams
impl UnwindSafe for ListMessagesParams
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