pub struct Validator(pub ComponentAddress);Tuple Fields§
§0: ComponentAddressImplementations§
Source§impl Validator
impl Validator
pub fn register<Y: SystemObjectApi<E>, E: SystemApiError>( &self, api: &mut Y, ) -> Result<(), E>
pub fn update_accept_delegated_stake<Y: SystemObjectApi<E>, E: SystemApiError>( &self, accept_delegated_stake: bool, api: &mut Y, ) -> Result<(), E>
pub fn accepts_delegated_stake<Y: SystemObjectApi<E>, E: SystemApiError>( &self, api: &mut Y, ) -> Result<bool, E>
pub fn stake<Y: SystemObjectApi<E>, E: SystemApiError>( &self, stake: Bucket, api: &mut Y, ) -> Result<Bucket, E>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Validator
impl RefUnwindSafe for Validator
impl Send for Validator
impl Sync for Validator
impl Unpin for Validator
impl UnwindSafe for Validator
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