Struct dsnp_graph_config::builder::ConfigBuilder
source · pub struct ConfigBuilder { /* private fields */ }
Implementations§
source§impl ConfigBuilder
impl ConfigBuilder
pub fn new() -> Self
pub fn with_sdk_max_stale_friendship_days( self, sdk_max_stale_friendship_days: u32 ) -> Self
pub fn with_max_page_id(self, max_page_id: u32) -> Self
pub fn with_max_key_page_size_bytes(self, max_key_page_size_bytes: u32) -> Self
pub fn with_max_graph_page_size_bytes( self, max_graph_page_size_bytes: u32 ) -> Self
pub fn with_schema(self, schema_id: SchemaId, config: SchemaConfig) -> Self
pub fn with_key_pair_schema_id(self, schema_id: SchemaId) -> Self
pub fn build(self) -> Config
Auto Trait Implementations§
impl RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnwindSafe for ConfigBuilder
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