pub struct ServiceBody {
pub signature: String,
pub fence_language: String,
pub fence_body: String,
}Expand description
Service definition entity body.
Fields§
§signature: StringHuman-readable service signature line.
fence_language: StringLanguage tag for the fenced code block.
fence_body: StringFenced source excerpt for the service definition.
Trait Implementations§
Source§impl Clone for ServiceBody
impl Clone for ServiceBody
Source§fn clone(&self) -> ServiceBody
fn clone(&self) -> ServiceBody
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 moreSource§impl Debug for ServiceBody
impl Debug for ServiceBody
Source§impl Default for ServiceBody
impl Default for ServiceBody
Source§fn default() -> ServiceBody
fn default() -> ServiceBody
Returns the “default value” for a type. Read more
impl Eq for ServiceBody
Source§impl PartialEq for ServiceBody
impl PartialEq for ServiceBody
Source§fn eq(&self, other: &ServiceBody) -> bool
fn eq(&self, other: &ServiceBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServiceBody
Auto Trait Implementations§
impl Freeze for ServiceBody
impl RefUnwindSafe for ServiceBody
impl Send for ServiceBody
impl Sync for ServiceBody
impl Unpin for ServiceBody
impl UnsafeUnpin for ServiceBody
impl UnwindSafe for ServiceBody
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