pub struct StreamStatusResponse {
pub remaining: Option<i64>,
pub warning: Option<bool>,
}Fields§
§remaining: Option<i64>Remaining time in seconds for the session/token.
warning: Option<bool>Whether a warning state is active (e.g., session about to expire).
Implementations§
Source§impl StreamStatusResponse
impl StreamStatusResponse
pub fn new() -> StreamStatusResponse
Trait Implementations§
Source§impl Clone for StreamStatusResponse
impl Clone for StreamStatusResponse
Source§fn clone(&self) -> StreamStatusResponse
fn clone(&self) -> StreamStatusResponse
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 StreamStatusResponse
impl Debug for StreamStatusResponse
Source§impl Default for StreamStatusResponse
impl Default for StreamStatusResponse
Source§fn default() -> StreamStatusResponse
fn default() -> StreamStatusResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamStatusResponse
impl<'de> Deserialize<'de> for StreamStatusResponse
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 StreamStatusResponse
impl PartialEq for StreamStatusResponse
Source§impl Serialize for StreamStatusResponse
impl Serialize for StreamStatusResponse
impl StructuralPartialEq for StreamStatusResponse
Auto Trait Implementations§
impl Freeze for StreamStatusResponse
impl RefUnwindSafe for StreamStatusResponse
impl Send for StreamStatusResponse
impl Sync for StreamStatusResponse
impl Unpin for StreamStatusResponse
impl UnwindSafe for StreamStatusResponse
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