[−][src]Struct bolt_proto::value::Duration
Implementations
impl Duration[src]
pub fn new(months: i64, days: i64, seconds: i64, nanos: i32) -> Self[src]
pub fn months(&self) -> i64[src]
pub fn days(&self) -> i64[src]
pub fn seconds(&self) -> i64[src]
pub fn nanos(&self) -> i32[src]
Trait Implementations
impl Clone for Duration[src]
impl Debug for Duration[src]
impl Deserialize for Duration[src]
impl Eq for Duration[src]
impl From<Duration> for Value[src]
impl From<Duration> for Duration[src]
impl Hash for Duration[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Marker for Duration[src]
fn get_marker(&self) -> Result<u8>[src]
impl PartialEq<Duration> for Duration[src]
impl Serialize for Duration[src]
fn try_into_bytes(self) -> Result<Bytes>[src]
impl Signature for Duration[src]
fn get_signature(&self) -> u8[src]
impl StructuralEq for Duration[src]
impl StructuralPartialEq for Duration[src]
impl TryFrom<Arc<Mutex<Bytes>>> for Duration[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(remaining_bytes_arc: Arc<Mutex<Bytes>>) -> Result<Self>[src]
impl TryFrom<Value> for Duration[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self>[src]
impl TryInto<Bytes> for Duration[src]
Auto Trait Implementations
impl RefUnwindSafe for Duration
impl Send for Duration
impl Sync for Duration
impl Unpin for Duration
impl UnwindSafe for Duration
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,