Struct neo4rs::BoltDuration
source · pub struct BoltDuration { /* private fields */ }
Implementations§
source§impl BoltDuration
impl BoltDuration
pub fn new( months: BoltInteger, days: BoltInteger, seconds: BoltInteger, nanoseconds: BoltInteger ) -> Self
Trait Implementations§
source§impl Clone for BoltDuration
impl Clone for BoltDuration
source§fn clone(&self) -> BoltDuration
fn clone(&self) -> BoltDuration
Returns a copy 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 BoltDuration
impl Debug for BoltDuration
source§impl From<BoltDuration> for Duration
impl From<BoltDuration> for Duration
source§fn from(value: BoltDuration) -> Self
fn from(value: BoltDuration) -> Self
Converts to this type from the input type.
source§impl From<Duration> for BoltDuration
impl From<Duration> for BoltDuration
source§impl PartialEq for BoltDuration
impl PartialEq for BoltDuration
source§fn eq(&self, other: &BoltDuration) -> bool
fn eq(&self, other: &BoltDuration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BoltDuration
impl StructuralPartialEq for BoltDuration
Auto Trait Implementations§
impl RefUnwindSafe for BoltDuration
impl Send for BoltDuration
impl Sync for BoltDuration
impl Unpin for BoltDuration
impl UnwindSafe for BoltDuration
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