pub struct DataExQuery { /* private fields */ }Expand description
Параметры для метода /dataEx.
Implementations§
Source§impl DataExQuery
impl DataExQuery
Sourcepub fn new(publication_id: PublicationId, years: YearSpan) -> Self
pub fn new(publication_id: PublicationId, 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 publication_id(&self) -> PublicationId
pub fn publication_id(&self) -> PublicationId
Возвращает идентификатор публикации.
Sourcepub fn i_ids(&self) -> &[IndicatorId] ⓘ
pub fn i_ids(&self) -> &[IndicatorId] ⓘ
Возвращает фильтр i_ids.
Trait Implementations§
Source§impl Clone for DataExQuery
impl Clone for DataExQuery
Source§fn clone(&self) -> DataExQuery
fn clone(&self) -> DataExQuery
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 DataExQuery
impl Debug for DataExQuery
Auto Trait Implementations§
impl Freeze for DataExQuery
impl RefUnwindSafe for DataExQuery
impl Send for DataExQuery
impl Sync for DataExQuery
impl Unpin for DataExQuery
impl UnsafeUnpin for DataExQuery
impl UnwindSafe for DataExQuery
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