pub struct DynamicInterfaceTemplate {
pub parent_id: InterfaceId,
pub interface_type: String,
pub ifac: Option<IfacState>,
pub mode: u8,
pub gravity: i64,
pub recursive_prs: bool,
pub announces_from_internal: bool,
pub announces_to_internal: Option<bool>,
}Fields§
§parent_id: InterfaceId§interface_type: String§ifac: Option<IfacState>§mode: u8§gravity: i64§recursive_prs: bool§announces_from_internal: bool§announces_to_internal: Option<bool>Implementations§
Source§impl DynamicInterfaceTemplate
impl DynamicInterfaceTemplate
pub fn registration(&self, info: InterfaceInfo) -> DynamicInterfaceRegistration
Trait Implementations§
Source§impl Clone for DynamicInterfaceTemplate
impl Clone for DynamicInterfaceTemplate
Auto Trait Implementations§
impl Freeze for DynamicInterfaceTemplate
impl RefUnwindSafe for DynamicInterfaceTemplate
impl Send for DynamicInterfaceTemplate
impl Sync for DynamicInterfaceTemplate
impl Unpin for DynamicInterfaceTemplate
impl UnsafeUnpin for DynamicInterfaceTemplate
impl UnwindSafe for DynamicInterfaceTemplate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more