pub struct ChannelsClient { /* private fields */ }Expand description
Sub-client for script channels. Obtained via [AkribesClient::channels()].
Implementations§
Source§impl ChannelsClient
impl ChannelsClient
pub async fn list(&self, script_name: &str) -> Result<Vec<ScriptChannel>>
pub async fn create( &self, script_name: &str, channel_name: &str, ) -> Result<ScriptChannel>
pub async fn delete(&self, script_name: &str, channel_name: &str) -> Result<()>
pub async fn move_to( &self, script_name: &str, channel_name: &str, version_id: i64, force: bool, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ChannelsClient
impl Clone for ChannelsClient
Source§fn clone(&self) -> ChannelsClient
fn clone(&self) -> ChannelsClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for ChannelsClient
impl !UnwindSafe for ChannelsClient
impl Freeze for ChannelsClient
impl Send for ChannelsClient
impl Sync for ChannelsClient
impl Unpin for ChannelsClient
impl UnsafeUnpin for ChannelsClient
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