pub struct DataNewQuery { /* private fields */ }Expand description
Параметры для метода /dataNew.
Implementations§
Source§impl DataNewQuery
impl DataNewQuery
Sourcepub fn new(category_id: CategoryId, years: YearSpan) -> Self
pub fn new(category_id: CategoryId, years: YearSpan) -> Self
Создаёт запрос с обязательными полями.
Sourcepub fn with_i_ids<I>(self, ids: I) -> Selfwhere
I: IntoIterator<Item = IndicatorId>,
pub fn with_i_ids<I>(self, ids: I) -> Selfwhere
I: IntoIterator<Item = IndicatorId>,
Устанавливает массив i_ids.
Sourcepub fn with_m1_ids<I>(self, ids: I) -> Selfwhere
I: IntoIterator<Item = MeasureId>,
pub fn with_m1_ids<I>(self, ids: I) -> Selfwhere
I: IntoIterator<Item = MeasureId>,
Устанавливает массив m1_ids.
Sourcepub fn with_m2_ids<I>(self, ids: I) -> Selfwhere
I: IntoIterator<Item = MeasureId>,
pub fn with_m2_ids<I>(self, ids: I) -> Selfwhere
I: IntoIterator<Item = MeasureId>,
Устанавливает массив m2_ids.
Sourcepub fn category_id(&self) -> CategoryId
pub fn category_id(&self) -> CategoryId
Возвращает идентификатор категории.
Sourcepub fn i_ids(&self) -> &[IndicatorId] ⓘ
pub fn i_ids(&self) -> &[IndicatorId] ⓘ
Возвращает фильтр i_ids.
Trait Implementations§
Source§impl Clone for DataNewQuery
impl Clone for DataNewQuery
Source§fn clone(&self) -> DataNewQuery
fn clone(&self) -> DataNewQuery
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 DataNewQuery
impl Debug for DataNewQuery
Auto Trait Implementations§
impl Freeze for DataNewQuery
impl RefUnwindSafe for DataNewQuery
impl Send for DataNewQuery
impl Sync for DataNewQuery
impl Unpin for DataNewQuery
impl UnsafeUnpin for DataNewQuery
impl UnwindSafe for DataNewQuery
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