pub struct EndpointOut {
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 metadata: HashMap<String, String>,
pub rate_limit: Option<i32>,
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
metadata: HashMap<String, String>
§rate_limit: Option<i32>
§uid: Option<String>
Optional unique identifier for the endpoint
updated_at: String
§url: String
§version: i32
Implementations§
Trait Implementations§
Source§impl Clone for EndpointOut
impl Clone for EndpointOut
Source§fn clone(&self) -> EndpointOut
fn clone(&self) -> EndpointOut
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 EndpointOut
impl Debug for EndpointOut
Source§impl Default for EndpointOut
impl Default for EndpointOut
Source§fn default() -> EndpointOut
fn default() -> EndpointOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointOut
impl<'de> Deserialize<'de> for EndpointOut
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 EndpointOut
impl PartialEq for EndpointOut
Source§impl Serialize for EndpointOut
impl Serialize for EndpointOut
impl StructuralPartialEq for EndpointOut
Auto Trait Implementations§
impl Freeze for EndpointOut
impl RefUnwindSafe for EndpointOut
impl Send for EndpointOut
impl Sync for EndpointOut
impl Unpin for EndpointOut
impl UnwindSafe for EndpointOut
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