pub struct Protocol<'a> {
pub name: Cow<'a, str>,
pub doc: Option<Cow<'a, str>>,
pub properties: Vec<Property<'a>>,
pub tys: Vec<Schema<'a>>,
pub messages: Vec<Message<'a>>,
}Fields§
§name: Cow<'a, str>§doc: Option<Cow<'a, str>>§properties: Vec<Property<'a>>§tys: Vec<Schema<'a>>§messages: Vec<Message<'a>>Trait Implementations§
impl<'a> StructuralPartialEq for Protocol<'a>
Auto Trait Implementations§
impl<'a> Freeze for Protocol<'a>
impl<'a> RefUnwindSafe for Protocol<'a>
impl<'a> !Send for Protocol<'a>
impl<'a> !Sync for Protocol<'a>
impl<'a> Unpin for Protocol<'a>
impl<'a> UnwindSafe for Protocol<'a>
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