pub struct PreCommitSectorBatchParams2API {
pub sectors: Vec<SectorPreCommitInfo>,
}Fields§
§sectors: Vec<SectorPreCommitInfo>Implementations§
Source§impl PreCommitSectorBatchParams2API
impl PreCommitSectorBatchParams2API
pub fn serialize<__S>(
__self: &PreCommitSectorBatchParams2,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> PreCommitSectorBatchParams2API
impl<'de> PreCommitSectorBatchParams2API
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreCommitSectorBatchParams2, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for PreCommitSectorBatchParams2API
impl Clone for PreCommitSectorBatchParams2API
Source§fn clone(&self) -> PreCommitSectorBatchParams2API
fn clone(&self) -> PreCommitSectorBatchParams2API
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 PreCommitSectorBatchParams2API
impl PartialEq for PreCommitSectorBatchParams2API
Source§fn eq(&self, other: &PreCommitSectorBatchParams2API) -> bool
fn eq(&self, other: &PreCommitSectorBatchParams2API) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PreCommitSectorBatchParams2API
Auto Trait Implementations§
impl Freeze for PreCommitSectorBatchParams2API
impl RefUnwindSafe for PreCommitSectorBatchParams2API
impl Send for PreCommitSectorBatchParams2API
impl Sync for PreCommitSectorBatchParams2API
impl Unpin for PreCommitSectorBatchParams2API
impl UnwindSafe for PreCommitSectorBatchParams2API
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<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