pub struct GetLeaderScheduleRequest {
pub slot: Option<Slot>,
pub config: Option<RpcLeaderScheduleConfig>,
}
Fields§
§slot: Option<Slot>
§config: Option<RpcLeaderScheduleConfig>
Implementations§
source§impl GetLeaderScheduleRequest
impl GetLeaderScheduleRequest
pub fn new() -> Self
pub fn new_with_slot_and_config( slot: Slot, config: RpcLeaderScheduleConfig, ) -> Self
pub fn new_with_config(config: RpcLeaderScheduleConfig) -> Self
Trait Implementations§
source§impl Debug for GetLeaderScheduleRequest
impl Debug for GetLeaderScheduleRequest
source§impl Default for GetLeaderScheduleRequest
impl Default for GetLeaderScheduleRequest
source§fn default() -> GetLeaderScheduleRequest
fn default() -> GetLeaderScheduleRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetLeaderScheduleRequest
impl RefUnwindSafe for GetLeaderScheduleRequest
impl Send for GetLeaderScheduleRequest
impl Sync for GetLeaderScheduleRequest
impl Unpin for GetLeaderScheduleRequest
impl UnwindSafe for GetLeaderScheduleRequest
Blanket Implementations§
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
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> 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