#[non_exhaustive]pub struct TickleResponse {
pub session: Option<String>,
pub raw: TickleResponse,
}Expand description
Response from a tickle call, projected from the generated type.
#[non_exhaustive] so adding a field in a point release isn’t a SemVer
break.
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.session: Option<String>Session identifier the Gateway returned, if any.
raw: TickleResponseRaw response — exposed for callers that need the full tickle payload.
Trait Implementations§
Source§impl Clone for TickleResponse
impl Clone for TickleResponse
Source§fn clone(&self) -> TickleResponse
fn clone(&self) -> TickleResponse
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 moreAuto Trait Implementations§
impl Freeze for TickleResponse
impl RefUnwindSafe for TickleResponse
impl Send for TickleResponse
impl Sync for TickleResponse
impl Unpin for TickleResponse
impl UnsafeUnpin for TickleResponse
impl UnwindSafe for TickleResponse
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