pub struct CreateNodeInput {
pub user_id: Uuid,
pub peer_id: String,
pub public_key: Vec<u8>,
pub max_storage_bytes: u64,
pub max_bandwidth_bps: u64,
}Expand description
Input type for creating a node.
Fields§
§user_id: Uuid§peer_id: String§public_key: Vec<u8>§max_storage_bytes: u64§max_bandwidth_bps: u64Implementations§
Trait Implementations§
Source§impl Clone for CreateNodeInput
impl Clone for CreateNodeInput
Source§fn clone(&self) -> CreateNodeInput
fn clone(&self) -> CreateNodeInput
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§impl Debug for CreateNodeInput
impl Debug for CreateNodeInput
Auto Trait Implementations§
impl Freeze for CreateNodeInput
impl RefUnwindSafe for CreateNodeInput
impl Send for CreateNodeInput
impl Sync for CreateNodeInput
impl Unpin for CreateNodeInput
impl UnwindSafe for CreateNodeInput
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