pub struct ResponseSchema {
pub col: Col<f64>,
pub weights: Option<Col<f64>>,
pub nrows: usize,
}Expand description
Response metadata.
Fields§
§col: Col<f64>Source response column.
weights: Option<Col<f64>>Optional observation weights column.
nrows: usizeNumber of training observations.
Trait Implementations§
Source§impl Clone for ResponseSchema
impl Clone for ResponseSchema
Source§fn clone(&self) -> ResponseSchema
fn clone(&self) -> ResponseSchema
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 moreSource§impl Debug for ResponseSchema
impl Debug for ResponseSchema
Source§impl PartialEq for ResponseSchema
impl PartialEq for ResponseSchema
Source§fn eq(&self, other: &ResponseSchema) -> bool
fn eq(&self, other: &ResponseSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResponseSchema
Auto Trait Implementations§
impl Freeze for ResponseSchema
impl RefUnwindSafe for ResponseSchema
impl Send for ResponseSchema
impl Sync for ResponseSchema
impl Unpin for ResponseSchema
impl UnsafeUnpin for ResponseSchema
impl UnwindSafe for ResponseSchema
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