pub fn new_with_commitment(url: &str, commitment_config: CommitmentConfig) -> Self {
        Self {
            rpc_client: RpcClient::new_with_commitment(url.to_string(), commitment_config),
            ..FarmClient::default()
        }
    }
/// Creates a new FarmClient object with commitment config
Creates a new FarmClient object with commitment config
Creates a new FarmClient object with commitment config
pub fn new_with_commitment(url: &str, commitment_config: CommitmentConfig) -> Self {
        Self {
            rpc_client: RpcClient::new_with_commitment(url.to_string(), commitment_config),
            ..FarmClient::default()
        }
    }
pub fn new_with_commitment ( url : & str , commitment_config : CommitmentConfig ) -> Self { Self { rpc_client : RpcClient :: new_with_commitment ( url . to_string ( ) , commitment_config ) , .. FarmClient :: default ( ) } }
Creates a new FarmClient object with commitment config
Creates a new FarmClient object with commitment config
url
&str
commitment_config
CommitmentConfig
url
&str
commitment_config
CommitmentConfig