Struct avro::Protocol
[−]
[src]
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> Debug for Protocol<'a>[src]
impl<'a> Clone for Protocol<'a>[src]
fn clone(&self) -> Protocol<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more