pub struct BaseOptions {
pub private_options: PrivateOptions,
pub public_options: Vec<Options>,
pub parent: Option<Signature>,
pub public_key: Option<PublicKey>,
pub peer_id: Option<Id>,
pub signature: Option<Signature>,
pub raw: Option<Vec<u8>>,
}
Expand description
Options for constructing base objects
Fields§
§private_options: PrivateOptions
Private / encrypted options
public_options: Vec<Options>
Public / plaintext options
parent: Option<Signature>
Parent object signature
public_key: Option<PublicKey>
Parent service public key
peer_id: Option<Id>
Peer ID for secondary object mapping
signature: Option<Signature>
Object signature
raw: Option<Vec<u8>>
Raw / pre-encoded object data
Implementations§
Source§impl BaseOptions
impl BaseOptions
pub fn append_public_option(&mut self, o: Options) -> &mut Self
pub fn append_private_option(&mut self, o: Options) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BaseOptions
impl RefUnwindSafe for BaseOptions
impl Send for BaseOptions
impl Sync for BaseOptions
impl Unpin for BaseOptions
impl UnwindSafe for BaseOptions
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