pub struct ProtoService {
pub name: String,
pub package: String,
pub methods: Vec<ProtoMethod>,
pub messages: Vec<ProtoMessage>,
}Expand description
Proto service definition.
Fields§
§name: String§package: String§methods: Vec<ProtoMethod>§messages: Vec<ProtoMessage>Trait Implementations§
Source§impl Clone for ProtoService
impl Clone for ProtoService
Source§fn clone(&self) -> ProtoService
fn clone(&self) -> ProtoService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProtoService
impl RefUnwindSafe for ProtoService
impl Send for ProtoService
impl Sync for ProtoService
impl Unpin for ProtoService
impl UnsafeUnpin for ProtoService
impl UnwindSafe for ProtoService
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