#[non_exhaustive]pub struct Endpoints {
pub api: String,
pub id: String,
pub website: String,
pub realtime: String,
}Expand description
Where each part of Kick lives. Every builder takes one, so a test, a simulator or a proxy can stand in for any of them.
Start from Endpoints::default and replace a part with the with_*
methods (or assign the field).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.api: StringThe official API: https://api.kick.com/public/v1.
id: StringOAuth: https://id.kick.com.
website: Stringkick.com itself, whose /api/v2 is the website API.
realtime: StringThe realtime endpoints: https://web.kick.com/api/v1/realtime.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Endpoints
impl<'de> Deserialize<'de> for Endpoints
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
impl Eq for Endpoints
impl StructuralPartialEq for Endpoints
Auto Trait Implementations§
impl Freeze for Endpoints
impl RefUnwindSafe for Endpoints
impl Send for Endpoints
impl Sync for Endpoints
impl Unpin for Endpoints
impl UnsafeUnpin for Endpoints
impl UnwindSafe for Endpoints
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