pub struct ServiceDescriptorProto {
pub name: String,
pub method: Vec<MethodDescriptorProto>,
pub options: Option<Options>,
}Expand description
A service definition.
Fields§
§name: String§method: Vec<MethodDescriptorProto>§options: Option<Options>Trait Implementations§
Source§impl Clone for ServiceDescriptorProto
impl Clone for ServiceDescriptorProto
Source§impl Debug for ServiceDescriptorProto
impl Debug for ServiceDescriptorProto
Source§impl PartialEq for ServiceDescriptorProto
impl PartialEq for ServiceDescriptorProto
Source§impl Serialize for ServiceDescriptorProto
impl Serialize for ServiceDescriptorProto
impl StructuralPartialEq for ServiceDescriptorProto
Auto Trait Implementations§
impl Forget for ServiceDescriptorProto
impl Freeze for ServiceDescriptorProto
impl RefUnwindSafe for ServiceDescriptorProto
impl Send for ServiceDescriptorProto
impl Sync for ServiceDescriptorProto
impl Unpin for ServiceDescriptorProto
impl UnsafeUnpin for ServiceDescriptorProto
impl UnwindSafe for ServiceDescriptorProto
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