Skip to main content

UsageForecastRequestLike

Trait UsageForecastRequestLike 

Source
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§

Source

fn id(&self) -> u64

Source

fn trace_id(&self) -> Option<&str>

Source

fn ended_at_ms(&self) -> u64

Source

fn provider_id(&self) -> Option<&str>

Source

fn station_name(&self) -> Option<&str>

Source

fn total_cost_usd(&self) -> Option<&str>

Source

fn has_usage(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: UsageForecastRequestLike + ?Sized> UsageForecastRequestLike for &T

Implementors§