pub struct CsiDeliveryConfig {
pub mode: Option<String>,
pub logging: Option<bool>,
}Expand description
POST /api/config/csi-delivery — switch the CSI delivery path and
inline log gate. Both fields are independent; either or both may be set.
Fields§
§mode: Option<String>off | callback | async.
logging: Option<bool>Toggle for the per-packet UART/JTAG inline log path.
Implementations§
Source§impl CsiDeliveryConfig
impl CsiDeliveryConfig
pub fn to_cli_command(&self) -> Result<String, String>
Trait Implementations§
Source§impl Debug for CsiDeliveryConfig
impl Debug for CsiDeliveryConfig
Source§impl<'de> Deserialize<'de> for CsiDeliveryConfig
impl<'de> Deserialize<'de> for CsiDeliveryConfig
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
Auto Trait Implementations§
impl Freeze for CsiDeliveryConfig
impl RefUnwindSafe for CsiDeliveryConfig
impl Send for CsiDeliveryConfig
impl Sync for CsiDeliveryConfig
impl Unpin for CsiDeliveryConfig
impl UnsafeUnpin for CsiDeliveryConfig
impl UnwindSafe for CsiDeliveryConfig
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