Struct dsnp_graph_core::util::builders::ImportBundleBuilder
source · pub struct ImportBundleBuilder { /* private fields */ }
Implementations§
source§impl ImportBundleBuilder
impl ImportBundleBuilder
pub fn new( env: Environment, dsnp_user_id: DsnpUserId, schema_id: SchemaId ) -> 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_key_pairs(self, key_pairs: &[GraphKeyPair]) -> Self
pub fn build(self) -> ImportBundle
pub fn build_from(original: &ImportBundle, updates: &[Update]) -> ImportBundle
Auto Trait Implementations§
impl RefUnwindSafe for ImportBundleBuilder
impl Send for ImportBundleBuilder
impl Sync for ImportBundleBuilder
impl Unpin for ImportBundleBuilder
impl UnwindSafe for ImportBundleBuilder
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