pub struct BucketsByUnit { /* private fields */ }Expand description
Сетки корзин гистограмм по единице измерения: время и объём.
Implementations§
Trait Implementations§
Source§impl Clone for BucketsByUnit
impl Clone for BucketsByUnit
Source§impl Config for BucketsByUnit
impl Config for BucketsByUnit
Source§const NAME: &'static str = "BucketsByUnit"
const NAME: &'static str = "BucketsByUnit"
Имя конфигурации — имя типа без суффикса
Config. Даёт имя файла: Configs/Http.yaml.Source§const KEY: &'static str = "bucketsByUnit"
const KEY: &'static str = "bucketsByUnit"
То же имя с маленькой первой буквы: ключ секции в общем
config.yaml.Source§const DOC: &'static str = "\u{421}\u{435}\u{442}\u{43a}\u{438} \u{43a}\u{43e}\u{440}\u{437}\u{438}\u{43d} \u{433}\u{438}\u{441}\u{442}\u{43e}\u{433}\u{440}\u{430}\u{43c}\u{43c} \u{43f}\u{43e} \u{435}\u{434}\u{438}\u{43d}\u{438}\u{446}\u{435} \u{438}\u{437}\u{43c}\u{435}\u{440}\u{435}\u{43d}\u{438}\u{44f}: \u{432}\u{440}\u{435}\u{43c}\u{44f} \u{438} \u{43e}\u{431}\u{44a}\u{451}\u{43c}."
const DOC: &'static str = "\u{421}\u{435}\u{442}\u{43a}\u{438} \u{43a}\u{43e}\u{440}\u{437}\u{438}\u{43d} \u{433}\u{438}\u{441}\u{442}\u{43e}\u{433}\u{440}\u{430}\u{43c}\u{43c} \u{43f}\u{43e} \u{435}\u{434}\u{438}\u{43d}\u{438}\u{446}\u{435} \u{438}\u{437}\u{43c}\u{435}\u{440}\u{435}\u{43d}\u{438}\u{44f}: \u{432}\u{440}\u{435}\u{43c}\u{44f} \u{438} \u{43e}\u{431}\u{44a}\u{451}\u{43c}."
Описание: первый абзац doc-комментария типа. У раздела без описания — пустая строка.
Source§impl Debug for BucketsByUnit
impl Debug for BucketsByUnit
Source§impl Default for BucketsByUnit
impl Default for BucketsByUnit
Source§impl Node for BucketsByUnit
impl Node for BucketsByUnit
Source§fn read(
raw: &Raw,
path: &Path,
problems: &mut Problems,
) -> Result<Self, Unbuilt>
fn read( raw: &Raw, path: &Path, problems: &mut Problems, ) -> Result<Self, Unbuilt>
Читает узел из прочитанного дерева.
Source§fn overlay(
&mut self,
raw: &Raw,
path: &Path,
problems: &mut Problems,
) -> Result<(), Unbuilt>
fn overlay( &mut self, raw: &Raw, path: &Path, problems: &mut Problems, ) -> Result<(), Unbuilt>
Накладывает прочитанное поверх значения. Все проблемы записывает в
problems и возвращает
Unbuilt, если значение не построить.Source§fn shape(&self) -> Shape<'_>
fn shape(&self) -> Shape<'_>
Возвращает форму узла. По форме идут обходы: выгрузка, статус, проверка.
Source§fn empty() -> Option<Self>
fn empty() -> Option<Self>
Пустое значение узла: раздел — с умолчаниями, последовательность и словарь — без элементов.
У скаляра пустого значения нет.
Source§fn sample() -> Option<Self>
fn sample() -> Option<Self>
Значение-образец для выгрузки-образца.
None, если для типа нет образца.Source§fn fill(&mut self)
fn fill(&mut self)
Наполняет узел образцом: пустые последовательности и словари получают по два элемента,
отсутствующие необязательные разделы — умолчания. Скаляры не меняются.
Auto Trait Implementations§
impl Forget for BucketsByUnit
impl Freeze for BucketsByUnit
impl Move for BucketsByUnit
impl RefUnwindSafe for BucketsByUnit
impl Send for BucketsByUnitwhere
RawVecInner: Send,
impl Sync for BucketsByUnitwhere
RawVecInner: Sync,
impl Unpin for BucketsByUnit
impl UnsafeUnpin for BucketsByUnitwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<f64>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
impl UnwindSafe for BucketsByUnitwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ExtensibleConfig for Twhere
T: Config,
impl<T> ExtensibleConfig for Twhere
T: Config,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request