pub struct WrappedCandidTypeService {
pub args: Vec<WrappedCandidType>,
pub methods: Vec<(String, WrappedCandidTypeFunction)>,
pub name: Option<String>,
}Expand description
service 结构体
Fields§
§args: Vec<WrappedCandidType>args
methods: Vec<(String, WrappedCandidTypeFunction)>methods
name: Option<String>有时候有名字
Implementations§
Trait Implementations§
Source§impl Clone for WrappedCandidTypeService
impl Clone for WrappedCandidTypeService
Source§fn clone(&self) -> WrappedCandidTypeService
fn clone(&self) -> WrappedCandidTypeService
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 WrappedCandidTypeService
impl Debug for WrappedCandidTypeService
Source§impl<'de> Deserialize<'de> for WrappedCandidTypeService
impl<'de> Deserialize<'de> for WrappedCandidTypeService
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WrappedCandidTypeService
Source§impl PartialEq for WrappedCandidTypeService
impl PartialEq for WrappedCandidTypeService
Source§impl Serialize for WrappedCandidTypeService
impl Serialize for WrappedCandidTypeService
impl StructuralPartialEq for WrappedCandidTypeService
Auto Trait Implementations§
impl Freeze for WrappedCandidTypeService
impl RefUnwindSafe for WrappedCandidTypeService
impl Send for WrappedCandidTypeService
impl Sync for WrappedCandidTypeService
impl Unpin for WrappedCandidTypeService
impl UnsafeUnpin for WrappedCandidTypeService
impl UnwindSafe for WrappedCandidTypeService
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