pub struct Func {
pub principal: Principal,
pub method: String,
}
Fields§
§principal: Principal
§method: String
Trait Implementations§
source§impl CandidType for Func
impl CandidType for Func
source§impl<'de> Deserialize<'de> for Func
impl<'de> Deserialize<'de> for Func
source§fn deserialize<D>(deserializer: D) -> Result<Func, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Func, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Func
impl StructuralPartialEq for Func
Auto Trait Implementations§
impl Freeze for Func
impl RefUnwindSafe for Func
impl Send for Func
impl Sync for Func
impl Unpin for Func
impl UnwindSafe for Func
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)