pub struct KaminoSwitchboardConfiguration {
pub price_aggregator: Pubkey,
pub twap_aggregator: Pubkey,
}Fields§
§price_aggregator: Pubkey§twap_aggregator: PubkeyTrait Implementations§
Source§impl Clone for KaminoSwitchboardConfiguration
impl Clone for KaminoSwitchboardConfiguration
Source§fn clone(&self) -> KaminoSwitchboardConfiguration
fn clone(&self) -> KaminoSwitchboardConfiguration
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 Default for KaminoSwitchboardConfiguration
impl Default for KaminoSwitchboardConfiguration
Source§fn default() -> KaminoSwitchboardConfiguration
fn default() -> KaminoSwitchboardConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KaminoSwitchboardConfiguration
impl<'de> Deserialize<'de> for KaminoSwitchboardConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KaminoSwitchboardConfiguration
impl RefUnwindSafe for KaminoSwitchboardConfiguration
impl Send for KaminoSwitchboardConfiguration
impl Sync for KaminoSwitchboardConfiguration
impl Unpin for KaminoSwitchboardConfiguration
impl UnsafeUnpin for KaminoSwitchboardConfiguration
impl UnwindSafe for KaminoSwitchboardConfiguration
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