pub struct UpdateDefinition<TypeInfo> {
pub name: String,
pub doc: String,
pub hidden: bool,
pub service_id: i32,
pub body: TypeInfo,
}
Expand description
Metadata about a service update for runtime intropection.
Fields§
§name: String
The name of the update message.
doc: String
The documentation of the update message.
This string may contain rustdoc compatible markup.
If true, the item should be hidden from documentation by default.
service_id: i32
The service ID of the update message.
body: TypeInfo
Information about the message body.
Trait Implementations§
Source§impl<TypeInfo: Clone> Clone for UpdateDefinition<TypeInfo>
impl<TypeInfo: Clone> Clone for UpdateDefinition<TypeInfo>
Source§fn clone(&self) -> UpdateDefinition<TypeInfo>
fn clone(&self) -> UpdateDefinition<TypeInfo>
Returns a duplicate of the value. Read more
1.0.0 · 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<TypeInfo> Freeze for UpdateDefinition<TypeInfo>where
TypeInfo: Freeze,
impl<TypeInfo> RefUnwindSafe for UpdateDefinition<TypeInfo>where
TypeInfo: RefUnwindSafe,
impl<TypeInfo> Send for UpdateDefinition<TypeInfo>where
TypeInfo: Send,
impl<TypeInfo> Sync for UpdateDefinition<TypeInfo>where
TypeInfo: Sync,
impl<TypeInfo> Unpin for UpdateDefinition<TypeInfo>where
TypeInfo: Unpin,
impl<TypeInfo> UnwindSafe for UpdateDefinition<TypeInfo>where
TypeInfo: UnwindSafe,
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