pub trait UsageForecastRequestLike {
// Required methods
fn id(&self) -> u64;
fn trace_id(&self) -> Option<&str>;
fn ended_at_ms(&self) -> u64;
fn provider_id(&self) -> Option<&str>;
fn station_name(&self) -> Option<&str>;
fn total_cost_usd(&self) -> Option<&str>;
fn has_usage(&self) -> bool;
}Required Methods§
fn id(&self) -> u64
fn trace_id(&self) -> Option<&str>
fn ended_at_ms(&self) -> u64
fn provider_id(&self) -> Option<&str>
fn station_name(&self) -> Option<&str>
fn total_cost_usd(&self) -> Option<&str>
fn has_usage(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".