pub struct LineDefinition {
pub number: String,
pub display_name: String,
}Expand description
A logical directory number and its default station label.
A logical line may be presented on more than one station through distinct
LineAppearance values.
Fields§
§number: StringNonempty directory number; DeviceDefinition::validate limits it to
24 bytes when used by a station.
display_name: StringTrait Implementations§
Source§impl Clone for LineDefinition
impl Clone for LineDefinition
Source§fn clone(&self) -> LineDefinition
fn clone(&self) -> LineDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LineDefinition
impl Debug for LineDefinition
impl Eq for LineDefinition
Source§impl PartialEq for LineDefinition
impl PartialEq for LineDefinition
impl StructuralPartialEq for LineDefinition
Auto Trait Implementations§
impl Freeze for LineDefinition
impl RefUnwindSafe for LineDefinition
impl Send for LineDefinition
impl Sync for LineDefinition
impl Unpin for LineDefinition
impl UnsafeUnpin for LineDefinition
impl UnwindSafe for LineDefinition
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