#[non_exhaustive]pub struct NetconfHelloMessage {
pub advertise_native_yang_modules: bool,
pub advertise_custom_yang_modules: bool,
pub advertise_standard_yang_modules: bool,
}Expand description
The hello-message block: the YANG modules the server advertises in the capabilities exchange.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.advertise_native_yang_modules: bool§advertise_custom_yang_modules: bool§advertise_standard_yang_modules: boolTrait Implementations§
Source§impl Clone for NetconfHelloMessage
impl Clone for NetconfHelloMessage
Source§impl Debug for NetconfHelloMessage
impl Debug for NetconfHelloMessage
impl Eq for NetconfHelloMessage
Source§impl PartialEq for NetconfHelloMessage
impl PartialEq for NetconfHelloMessage
impl StructuralPartialEq for NetconfHelloMessage
Auto Trait Implementations§
impl Forget for NetconfHelloMessage
impl Freeze for NetconfHelloMessage
impl Move for NetconfHelloMessage
impl RefUnwindSafe for NetconfHelloMessage
impl Send for NetconfHelloMessage
impl Sync for NetconfHelloMessage
impl Unpin for NetconfHelloMessage
impl UnsafeUnpin for NetconfHelloMessage
impl UnwindSafe for NetconfHelloMessage
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