pub struct DataOptions {
pub data_kind: Kind,
pub body: Body,
pub issued: Option<DateTime>,
pub expiry: Option<DateTime>,
pub public_options: Vec<Options>,
pub private_options: Vec<Options>,
}Fields§
§data_kind: KindData object kind
body: BodyData object body
issued: Option<DateTime>Data publish time
expiry: Option<DateTime>Data expiry time
public_options: Vec<Options>Public options attached to the data object
private_options: Vec<Options>Private options attached to the data object
Trait Implementations§
Source§impl Clone for DataOptions
impl Clone for DataOptions
Source§fn clone(&self) -> DataOptions
fn clone(&self) -> DataOptions
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 moreAuto Trait Implementations§
impl Freeze for DataOptions
impl RefUnwindSafe for DataOptions
impl Send for DataOptions
impl Sync for DataOptions
impl Unpin for DataOptions
impl UnwindSafe for DataOptions
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