pub struct ShareRecords { /* private fields */ }Expand description
Share Records.
Implementations§
Sourcepub fn new(records: Vec<ShareRecord>) -> Self
pub fn new(records: Vec<ShareRecord>) -> Self
Creates a new value.
Sourcepub fn iter(&self) -> impl Iterator<Item = &ShareRecord>
pub fn iter(&self) -> impl Iterator<Item = &ShareRecord>
Iterates over the records without taking ownership.
Sourcepub fn into_inner(self) -> Vec<ShareRecord>
pub fn into_inner(self) -> Vec<ShareRecord>
Converts this value into inner.
Trait Implementations§
Source§fn clone(&self) -> ShareRecords
fn clone(&self) -> ShareRecords
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§fn default() -> ShareRecords
fn default() -> ShareRecords
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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