pub struct PatchAd9361 {
pub sampling_frequency: Option<u32>,
pub rx_rf_bandwidth: Option<u32>,
pub tx_rf_bandwidth: Option<u32>,
pub rx_lo_frequency: Option<u64>,
pub tx_lo_frequency: Option<u64>,
pub rx_gain: Option<f64>,
pub rx_gain_mode: Option<Ad9361GainMode>,
pub tx_gain: Option<f64>,
}Expand description
AD9361 PATCH JSON schema.
This JSON schema corresponds to PATCH requests on /api/ad9361. It contains
a subset of the settings of the AD9361.
Fields§
§sampling_frequency: Option<u32>Sampling frequency in samples per second.
rx_rf_bandwidth: Option<u32>Receive RF bandwidth in Hz.
tx_rf_bandwidth: Option<u32>Transmit RF bandwidth in Hz.
rx_lo_frequency: Option<u64>Receive LO frequency in Hz.
tx_lo_frequency: Option<u64>Transmit LO frequency in Hz.
rx_gain: Option<f64>Receive gain in dB.
rx_gain_mode: Option<Ad9361GainMode>Receive AGC mode.
tx_gain: Option<f64>Transmit gain in dB.
Trait Implementations§
Source§impl Clone for PatchAd9361
impl Clone for PatchAd9361
Source§fn clone(&self) -> PatchAd9361
fn clone(&self) -> PatchAd9361
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 PatchAd9361
impl Debug for PatchAd9361
Source§impl Default for PatchAd9361
impl Default for PatchAd9361
Source§fn default() -> PatchAd9361
fn default() -> PatchAd9361
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchAd9361
impl<'de> Deserialize<'de> for PatchAd9361
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 From<Ad9361> for PatchAd9361
impl From<Ad9361> for PatchAd9361
Source§fn from(val: Ad9361) -> PatchAd9361
fn from(val: Ad9361) -> PatchAd9361
Converts to this type from the input type.
Source§impl PartialEq for PatchAd9361
impl PartialEq for PatchAd9361
Source§impl Serialize for PatchAd9361
impl Serialize for PatchAd9361
impl StructuralPartialEq for PatchAd9361
Auto Trait Implementations§
impl Freeze for PatchAd9361
impl RefUnwindSafe for PatchAd9361
impl Send for PatchAd9361
impl Sync for PatchAd9361
impl Unpin for PatchAd9361
impl UnwindSafe for PatchAd9361
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