pub struct SportsOperationBuilder(/* private fields */);Expand description
Builder for SportsOperation.
Implementations§
Source§impl SportsOperationBuilder
impl SportsOperationBuilder
pub fn tool(self, value: impl Into<SportsToolName>) -> Self
pub fn team(self, value: impl Into<String>) -> Self
pub fn opponent(self, value: impl Into<String>) -> Self
pub fn date_from(self, value: impl Into<String>) -> Self
pub fn date_to(self, value: impl Into<String>) -> Self
pub fn num_games(self, value: impl Into<u64>) -> Self
pub fn locale(self, value: impl Into<String>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> SportsOperation
pub fn build(self) -> SportsOperation
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for SportsOperationBuilder
impl RefUnwindSafe for SportsOperationBuilder
impl Send for SportsOperationBuilder
impl Sync for SportsOperationBuilder
impl Unpin for SportsOperationBuilder
impl UnsafeUnpin for SportsOperationBuilder
impl UnwindSafe for SportsOperationBuilder
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