pub struct PreCommitSectorBatchParamsAPI {
pub sectors: Vec<PreCommitSectorParams>,
}Fields§
§sectors: Vec<PreCommitSectorParams>Implementations§
Source§impl PreCommitSectorBatchParamsAPI
impl PreCommitSectorBatchParamsAPI
pub fn serialize<__S>(
__self: &PreCommitSectorBatchParams,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> PreCommitSectorBatchParamsAPI
impl<'de> PreCommitSectorBatchParamsAPI
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreCommitSectorBatchParams, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for PreCommitSectorBatchParamsAPI
impl Clone for PreCommitSectorBatchParamsAPI
Source§fn clone(&self) -> PreCommitSectorBatchParamsAPI
fn clone(&self) -> PreCommitSectorBatchParamsAPI
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 moreSource§impl PartialEq for PreCommitSectorBatchParamsAPI
impl PartialEq for PreCommitSectorBatchParamsAPI
Source§fn eq(&self, other: &PreCommitSectorBatchParamsAPI) -> bool
fn eq(&self, other: &PreCommitSectorBatchParamsAPI) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PreCommitSectorBatchParamsAPI
impl StructuralPartialEq for PreCommitSectorBatchParamsAPI
Auto Trait Implementations§
impl Freeze for PreCommitSectorBatchParamsAPI
impl RefUnwindSafe for PreCommitSectorBatchParamsAPI
impl Send for PreCommitSectorBatchParamsAPI
impl Sync for PreCommitSectorBatchParamsAPI
impl Unpin for PreCommitSectorBatchParamsAPI
impl UnwindSafe for PreCommitSectorBatchParamsAPI
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more