pub struct GridOperatorBuilder { /* private fields */ }Implementations§
Source§impl GridOperatorBuilder
impl GridOperatorBuilder
pub const fn new() -> Self
pub const fn name(self, name: &'static str) -> Self
pub const fn vat_number(self, vat_number: &'static str) -> Self
pub const fn country(self, country: Country) -> Self
pub const fn main_fuses(self, main_fuses: MainFuseSizes) -> Self
pub const fn links(self, links: Links) -> Self
pub const fn price_lists(self, price_lists: &'static [PriceList]) -> Self
pub const fn build(self) -> GridOperator
Trait Implementations§
Source§impl Clone for GridOperatorBuilder
impl Clone for GridOperatorBuilder
Source§fn clone(&self) -> GridOperatorBuilder
fn clone(&self) -> GridOperatorBuilder
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 moreAuto Trait Implementations§
impl Freeze for GridOperatorBuilder
impl RefUnwindSafe for GridOperatorBuilder
impl Send for GridOperatorBuilder
impl Sync for GridOperatorBuilder
impl Unpin for GridOperatorBuilder
impl UnwindSafe for GridOperatorBuilder
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