pub struct CountMessagesParams {
pub created_before: Option<DateTime>,
pub created_since: Option<DateTime>,
pub direction: Option<MessageDirection>,
pub exclude_content_types: 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>,
pub interval: Option<String>,
pub time_zone: Option<String>,
}Fields§
§created_before: Option<DateTime>§created_since: Option<DateTime>§direction: Option<MessageDirection>§exclude_content_types: 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>§interval: Option<String>§time_zone: Option<String>Implementations§
Source§impl CountMessagesParams
impl CountMessagesParams
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 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 CountMessagesParams
impl Clone for CountMessagesParams
Source§impl Debug for CountMessagesParams
impl Debug for CountMessagesParams
Source§impl Default for CountMessagesParams
impl Default for CountMessagesParams
Auto Trait Implementations§
impl Freeze for CountMessagesParams
impl RefUnwindSafe for CountMessagesParams
impl Send for CountMessagesParams
impl Sync for CountMessagesParams
impl Unpin for CountMessagesParams
impl UnsafeUnpin for CountMessagesParams
impl UnwindSafe for CountMessagesParams
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