Struct power_protobuf_lib::Service
source · pub struct Service {
pub name: Ident,
pub code_name: Ident,
pub methods: Vec<Method>,
pub options: Vec<ProtobufOption>,
}
Expand description
Service definition
Fields§
§name: Ident
Service name
code_name: Ident
§methods: Vec<Method>
§options: Vec<ProtobufOption>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl !Send for Service
impl !Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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