pub struct TimeConstraint {
pub name: String,
pub deadline: Option<i64>,
pub budget_secs: Option<u64>,
}Fields§
§name: String§deadline: Option<i64>§budget_secs: Option<u64>Trait Implementations§
Source§impl Clone for TimeConstraint
impl Clone for TimeConstraint
Source§fn clone(&self) -> TimeConstraint
fn clone(&self) -> TimeConstraint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimeConstraint
impl Debug for TimeConstraint
Source§impl<'de> Deserialize<'de> for TimeConstraint
impl<'de> Deserialize<'de> for TimeConstraint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TimeConstraint
impl RefUnwindSafe for TimeConstraint
impl Send for TimeConstraint
impl Sync for TimeConstraint
impl Unpin for TimeConstraint
impl UnsafeUnpin for TimeConstraint
impl UnwindSafe for TimeConstraint
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