Struct dsnp_graph_core::util::builders::PageDataBuilder
source · pub struct PageDataBuilder { /* private fields */ }
Implementations§
source§impl PageDataBuilder
impl PageDataBuilder
pub fn new(connection_type: ConnectionType) -> Self
pub fn with_page( self, page_id: PageId, connections: &[(DsnpUserId, u64)], prids: &[DsnpPrid], content_hash: u32 ) -> Self
pub fn with_encryption_key(self, key_bundle: ResolvedKeyPair) -> Self
pub fn with_noisy_creation_time(self, b: bool) -> Self
pub fn build(self) -> Vec<PageData>
pub fn build_with_size(&self) -> Vec<(usize, PageData)>
Auto Trait Implementations§
impl RefUnwindSafe for PageDataBuilder
impl Send for PageDataBuilder
impl Sync for PageDataBuilder
impl Unpin for PageDataBuilder
impl UnwindSafe for PageDataBuilder
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