pub struct BillsetInfo { /* private fields */ }Expand description
Represents billset information.
Implementations§
Source§impl BillsetInfo
impl BillsetInfo
Sourcepub const fn new() -> BillsetInfo
pub const fn new() -> BillsetInfo
Creates a new BillsetInfo.
Sourcepub const fn billset_id(&self) -> &BillsetId
pub const fn billset_id(&self) -> &BillsetId
Gets a reference to the BillsetId.
Sourcepub fn set_billset_id(&mut self, val: BillsetId)
pub fn set_billset_id(&mut self, val: BillsetId)
Sets the BillsetId.
Sourcepub fn with_billset_id(self, val: BillsetId) -> BillsetInfo
pub fn with_billset_id(self, val: BillsetId) -> BillsetInfo
Builder function that sets the BillsetId.
Sourcepub const fn module_type(&self) -> ModuleType
pub const fn module_type(&self) -> ModuleType
Gets the ModuleType.
Sourcepub fn set_module_type(&mut self, val: ModuleType)
pub fn set_module_type(&mut self, val: ModuleType)
Sets the ModuleType.
Sourcepub fn with_module_type(self, val: ModuleType) -> BillsetInfo
pub fn with_module_type(self, val: ModuleType) -> BillsetInfo
Builder function that sets the ModuleType.
Sourcepub const fn component_type(&self) -> ComponentType
pub const fn component_type(&self) -> ComponentType
Gets the ComponentType.
Sourcepub fn set_component_type(&mut self, val: ComponentType)
pub fn set_component_type(&mut self, val: ComponentType)
Sets the ComponentType.
Sourcepub fn with_component_type(self, val: ComponentType) -> BillsetInfo
pub fn with_component_type(self, val: ComponentType) -> BillsetInfo
Builder function that sets the ComponentType.
Sourcepub fn set_version(&mut self, val: Version)
pub fn set_version(&mut self, val: Version)
Sets the Version.
Sourcepub fn with_version(self, val: Version) -> BillsetInfo
pub fn with_version(self, val: Version) -> BillsetInfo
Builder function that sets the Version.
Trait Implementations§
Source§impl Clone for BillsetInfo
impl Clone for BillsetInfo
Source§fn clone(&self) -> BillsetInfo
fn clone(&self) -> BillsetInfo
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 moreSource§impl Debug for BillsetInfo
impl Debug for BillsetInfo
Source§impl Default for BillsetInfo
impl Default for BillsetInfo
Source§fn default() -> BillsetInfo
fn default() -> BillsetInfo
Returns the “default value” for a type. Read more
Source§impl Display for BillsetInfo
impl Display for BillsetInfo
Source§impl From<&BillsetInfo> for XfsMember
impl From<&BillsetInfo> for XfsMember
Source§fn from(val: &BillsetInfo) -> XfsMember
fn from(val: &BillsetInfo) -> XfsMember
Converts to this type from the input type.
Source§impl From<&BillsetInfo> for XfsStruct
impl From<&BillsetInfo> for XfsStruct
Source§fn from(val: &BillsetInfo) -> XfsStruct
fn from(val: &BillsetInfo) -> XfsStruct
Converts to this type from the input type.
Source§impl From<&BillsetInfo> for XfsValue
impl From<&BillsetInfo> for XfsValue
Source§fn from(val: &BillsetInfo) -> XfsValue
fn from(val: &BillsetInfo) -> XfsValue
Converts to this type from the input type.
Source§impl From<BillsetInfo> for XfsMember
impl From<BillsetInfo> for XfsMember
Source§fn from(val: BillsetInfo) -> XfsMember
fn from(val: BillsetInfo) -> XfsMember
Converts to this type from the input type.
Source§impl From<BillsetInfo> for XfsStruct
impl From<BillsetInfo> for XfsStruct
Source§fn from(val: BillsetInfo) -> XfsStruct
fn from(val: BillsetInfo) -> XfsStruct
Converts to this type from the input type.
Source§impl From<BillsetInfo> for XfsValue
impl From<BillsetInfo> for XfsValue
Source§fn from(val: BillsetInfo) -> XfsValue
fn from(val: BillsetInfo) -> XfsValue
Converts to this type from the input type.
Source§impl PartialEq for BillsetInfo
impl PartialEq for BillsetInfo
Source§impl TryFrom<&XfsMember> for BillsetInfo
impl TryFrom<&XfsMember> for BillsetInfo
Source§impl TryFrom<&XfsStruct> for BillsetInfo
impl TryFrom<&XfsStruct> for BillsetInfo
Source§impl TryFrom<&XfsValue> for BillsetInfo
impl TryFrom<&XfsValue> for BillsetInfo
Source§impl TryFrom<XfsMember> for BillsetInfo
impl TryFrom<XfsMember> for BillsetInfo
Source§impl TryFrom<XfsStruct> for BillsetInfo
impl TryFrom<XfsStruct> for BillsetInfo
Source§impl TryFrom<XfsValue> for BillsetInfo
impl TryFrom<XfsValue> for BillsetInfo
impl Eq for BillsetInfo
impl StructuralPartialEq for BillsetInfo
Auto Trait Implementations§
impl Freeze for BillsetInfo
impl RefUnwindSafe for BillsetInfo
impl Send for BillsetInfo
impl Sync for BillsetInfo
impl Unpin for BillsetInfo
impl UnwindSafe for BillsetInfo
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