pub struct PlanBand { /* private fields */ }Implementations§
Source§impl PlanBand
impl PlanBand
pub fn new(band: Band) -> Self
pub fn with_is_primary_user(self, is_primary_user: bool) -> Self
pub fn with_restrictions(self, restrictions: BandRestrictions) -> Self
pub fn with_segments(self, segments: Vec<Segment>) -> Self
pub fn with_calling_frequencies( self, calling_frequencies: Vec<CallingFrequency>, ) -> Self
pub fn with_notes(self, notes: Vec<String>) -> Self
pub fn band(&self) -> &Band
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlanBand
impl<'de> Deserialize<'de> for PlanBand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ToMarkdown for PlanBand
impl ToMarkdown for PlanBand
fn write_markdown<W: Write>(&self, writer: &mut W) -> Result<(), MarkdownError>
fn to_markdown_string(&self) -> Result<String, MarkdownError>
impl StructuralPartialEq for PlanBand
Auto Trait Implementations§
impl Freeze for PlanBand
impl RefUnwindSafe for PlanBand
impl Send for PlanBand
impl Sync for PlanBand
impl Unpin for PlanBand
impl UnsafeUnpin for PlanBand
impl UnwindSafe for PlanBand
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