pub struct TopModels {
pub available: Option<bool>,
pub items: Option<Vec<ModelRow>>,
pub source: Option<String>,
}Fields§
§available: Option<bool>Available is true whenever the ledger answered, including with no rows.
items: Option<Vec<ModelRow>>Items is the ranked models, highest spend first.
source: Option<String>Source is the warehouse table the lens read.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TopModels
impl<'de> Deserialize<'de> for TopModels
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
impl StructuralPartialEq for TopModels
Auto Trait Implementations§
impl Freeze for TopModels
impl RefUnwindSafe for TopModels
impl Send for TopModels
impl Sync for TopModels
impl Unpin for TopModels
impl UnsafeUnpin for TopModels
impl UnwindSafe for TopModels
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