pub struct Service {
pub name: String,
pub procedures: RepeatedField<Procedure>,
pub classes: RepeatedField<Class>,
pub enumerations: RepeatedField<Enumeration>,
pub documentation: String,
/* private fields */
}Fields§
§name: String§procedures: RepeatedField<Procedure>§classes: RepeatedField<Class>§enumerations: RepeatedField<Enumeration>§documentation: StringImplementations§
Source§impl Service
impl Service
pub fn new() -> Service
pub fn default_instance() -> &'static Service
pub fn clear_name(&mut self)
pub fn set_name(&mut self, v: String)
pub fn mut_name(&mut self) -> &mut String
pub fn take_name(&mut self) -> String
pub fn get_name(&self) -> &str
pub fn clear_procedures(&mut self)
pub fn set_procedures(&mut self, v: RepeatedField<Procedure>)
pub fn mut_procedures(&mut self) -> &mut RepeatedField<Procedure>
pub fn take_procedures(&mut self) -> RepeatedField<Procedure>
pub fn get_procedures(&self) -> &[Procedure]
pub fn clear_classes(&mut self)
pub fn set_classes(&mut self, v: RepeatedField<Class>)
pub fn mut_classes(&mut self) -> &mut RepeatedField<Class>
pub fn take_classes(&mut self) -> RepeatedField<Class>
pub fn get_classes(&self) -> &[Class]
pub fn clear_enumerations(&mut self)
pub fn set_enumerations(&mut self, v: RepeatedField<Enumeration>)
pub fn mut_enumerations(&mut self) -> &mut RepeatedField<Enumeration>
pub fn take_enumerations(&mut self) -> RepeatedField<Enumeration>
pub fn get_enumerations(&self) -> &[Enumeration]
pub fn clear_documentation(&mut self)
pub fn set_documentation(&mut self, v: String)
pub fn mut_documentation(&mut self) -> &mut String
pub fn take_documentation(&mut self) -> String
pub fn get_documentation(&self) -> &str
Trait Implementations§
Source§impl Message for Service
impl Message for Service
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_>, ) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
fn into_any(self: Box<Self>) -> Box<dyn Any>
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_>, ) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec( &self, vec: &mut Vec<u8>, ) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer( &self, w: &mut dyn Write, ) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn type_id(&self) -> TypeId
Source§impl MessageStatic for Service
impl MessageStatic for Service
fn new() -> Service
fn descriptor_static(_: Option<Service>) -> &'static MessageDescriptor
Source§impl ProtobufValue for Service
impl ProtobufValue for Service
fn as_ref(&self) -> ProtobufValueRef<'_>
fn as_any(&self) -> &(dyn Any + 'static)
fn is_non_zero(&self) -> bool
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
impl StructuralPartialEq for Service
impl Sync for Service
Auto Trait Implementations§
impl !Freeze for Service
impl !RefUnwindSafe for Service
impl Send 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