pub struct Seed {
pub home: String,
pub credential: PathBuf,
pub serve: bool,
}Expand description
What the seed marker says.
Fields§
§home: StringThe home whose log this node copies.
credential: PathBufThe credential file the home issued to this seed’s principal.
serve: boolWhether it binds a port. An archival seed replicates, stores and serves nobody.
Implementations§
Trait Implementations§
impl Eq for Seed
impl StructuralPartialEq for Seed
Auto Trait Implementations§
impl Freeze for Seed
impl RefUnwindSafe for Seed
impl Send for Seed
impl Sync for Seed
impl Unpin for Seed
impl UnsafeUnpin for Seed
impl UnwindSafe for Seed
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