pub struct MessageEndpointOut {Show 13 fields
pub channels: Option<Vec<String>>,
pub created_at: String,
pub description: String,
pub disabled: Option<bool>,
pub filter_types: Option<Vec<String>>,
pub id: String,
pub next_attempt: Option<String>,
pub rate_limit: Option<i32>,
pub status: MessageStatus,
pub uid: Option<String>,
pub updated_at: String,
pub url: String,
pub version: i32,
}
Fields§
§channels: Option<Vec<String>>
List of message channels this endpoint listens to (omit for all)
created_at: String
§description: String
An example endpoint name
disabled: Option<bool>
§filter_types: Option<Vec<String>>
§id: String
The ep’s ID
next_attempt: Option<String>
§rate_limit: Option<i32>
§status: MessageStatus
§uid: Option<String>
Optional unique identifier for the endpoint
updated_at: String
§url: String
§version: i32
Implementations§
Source§impl MessageEndpointOut
impl MessageEndpointOut
pub fn new( created_at: String, description: String, id: String, status: MessageStatus, updated_at: String, url: String, version: i32, ) -> MessageEndpointOut
Trait Implementations§
Source§impl Clone for MessageEndpointOut
impl Clone for MessageEndpointOut
Source§fn clone(&self) -> MessageEndpointOut
fn clone(&self) -> MessageEndpointOut
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MessageEndpointOut
impl Debug for MessageEndpointOut
Source§impl Default for MessageEndpointOut
impl Default for MessageEndpointOut
Source§fn default() -> MessageEndpointOut
fn default() -> MessageEndpointOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageEndpointOut
impl<'de> Deserialize<'de> for MessageEndpointOut
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MessageEndpointOut
impl PartialEq for MessageEndpointOut
Source§impl Serialize for MessageEndpointOut
impl Serialize for MessageEndpointOut
impl StructuralPartialEq for MessageEndpointOut
Auto Trait Implementations§
impl Freeze for MessageEndpointOut
impl RefUnwindSafe for MessageEndpointOut
impl Send for MessageEndpointOut
impl Sync for MessageEndpointOut
impl Unpin for MessageEndpointOut
impl UnwindSafe for MessageEndpointOut
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