pub struct UpdateChannels(/* private fields */);Expand description
RuleSets consists of a tuple vec of update channels
Implementations§
Source§impl UpdateChannels
impl UpdateChannels
Sourcepub fn get_all(&self) -> &Vec<UpdateChannel>
pub fn get_all(&self) -> &Vec<UpdateChannel>
Get an immutable reference to all update channels
Sourcepub fn get_all_mut(&mut self) -> &mut Vec<UpdateChannel>
pub fn get_all_mut(&mut self) -> &mut Vec<UpdateChannel>
Get a mutable reference to all update channels
Trait Implementations§
Source§impl Debug for UpdateChannels
impl Debug for UpdateChannels
Source§impl From<&String> for UpdateChannels
Returns update channels given a JSON string
impl From<&String> for UpdateChannels
Returns update channels given a JSON string
See the implementation of From<&String> for UpdateChannel for more detail
§Panics
Panics if the update channels JSON is not an array
Source§fn from(json_string: &String) -> UpdateChannels
fn from(json_string: &String) -> UpdateChannels
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateChannels
impl RefUnwindSafe for UpdateChannels
impl Send for UpdateChannels
impl Sync for UpdateChannels
impl Unpin for UpdateChannels
impl UnwindSafe for UpdateChannels
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