pub struct CreateArguments {
pub path: String,
pub data_sources: Vec<CreateDataSource>,
pub round_robin_archives: Vec<CreateRoundRobinArchive>,
pub start_timestamp: u64,
pub step_seconds: u64,
}
Expand description
Arguments to create a new RRD file
Fields§
§path: String
Path to the RRD file The path must be between 1 and 64 characters and only contain alphanumeric characters and underscores
Does not end with .rrd
data_sources: Vec<CreateDataSource>
List of data sources, the order is important Must be at least one.
round_robin_archives: Vec<CreateRoundRobinArchive>
List of round robin archives. Must be at least one.
start_timestamp: u64
Start time of the first data point
step_seconds: u64
Number of seconds between two data points
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateArguments
impl RefUnwindSafe for CreateArguments
impl Send for CreateArguments
impl Sync for CreateArguments
impl Unpin for CreateArguments
impl UnwindSafe for CreateArguments
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