pub struct Profile<'a> { /* private fields */ }Expand description
One daily or monthly billing window with host-resolved UTC boundaries.
Implementations§
Source§impl<'a> Profile<'a>
impl<'a> Profile<'a>
pub fn new( id: &'a str, channel: Channel<'a>, period: Period, open_utc: i64, close_utc: i64, ) -> Result<Self, Error>
Auto Trait Implementations§
impl<'a> Freeze for Profile<'a>
impl<'a> RefUnwindSafe for Profile<'a>
impl<'a> Send for Profile<'a>
impl<'a> Sync for Profile<'a>
impl<'a> Unpin for Profile<'a>
impl<'a> UnsafeUnpin for Profile<'a>
impl<'a> UnwindSafe for Profile<'a>
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