pub struct JsonParser;Expand description
JSON parser for API responses
Implementations§
Source§impl JsonParser
 
impl JsonParser
Sourcepub fn parse_channel_response(json_str: &str) -> FetchResult<ChannelInfo>
 
pub fn parse_channel_response(json_str: &str) -> FetchResult<ChannelInfo>
Parse channel information from Kick API JSON response
Sourcepub fn extract_channel_id(json_str: &str) -> FetchResult<u64>
 
pub fn extract_channel_id(json_str: &str) -> FetchResult<u64>
Extract channel ID from various JSON formats
Auto Trait Implementations§
impl Freeze for JsonParser
impl RefUnwindSafe for JsonParser
impl Send for JsonParser
impl Sync for JsonParser
impl Unpin for JsonParser
impl UnwindSafe for JsonParser
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