pub struct FhrpGroupAssignment {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub group: Box<BriefFhrpGroup>,
pub interface_type: String,
pub interface_id: i64,
pub interface: Option<Option<Value>>,
pub priority: i32,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
}Expand description
FhrpGroupAssignment : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§group: Box<BriefFhrpGroup>§interface_type: String§interface_id: i64§interface: Option<Option<Value>>§priority: i32§created: Option<Option<String>>§last_updated: Option<Option<String>>Implementations§
Source§impl FhrpGroupAssignment
impl FhrpGroupAssignment
Sourcepub fn new(
group: BriefFhrpGroup,
interface_type: String,
interface_id: i64,
priority: i32,
) -> FhrpGroupAssignment
pub fn new( group: BriefFhrpGroup, interface_type: String, interface_id: i64, priority: i32, ) -> FhrpGroupAssignment
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for FhrpGroupAssignment
impl Clone for FhrpGroupAssignment
Source§fn clone(&self) -> FhrpGroupAssignment
fn clone(&self) -> FhrpGroupAssignment
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 FhrpGroupAssignment
impl Debug for FhrpGroupAssignment
Source§impl Default for FhrpGroupAssignment
impl Default for FhrpGroupAssignment
Source§fn default() -> FhrpGroupAssignment
fn default() -> FhrpGroupAssignment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FhrpGroupAssignment
impl<'de> Deserialize<'de> for FhrpGroupAssignment
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 PartialEq for FhrpGroupAssignment
impl PartialEq for FhrpGroupAssignment
Source§impl Serialize for FhrpGroupAssignment
impl Serialize for FhrpGroupAssignment
impl StructuralPartialEq for FhrpGroupAssignment
Auto Trait Implementations§
impl Freeze for FhrpGroupAssignment
impl RefUnwindSafe for FhrpGroupAssignment
impl Send for FhrpGroupAssignment
impl Sync for FhrpGroupAssignment
impl Unpin for FhrpGroupAssignment
impl UnwindSafe for FhrpGroupAssignment
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