cloud_llm_client: Remove unused code (#47774)

Marshall Bowers created

This PR removes some unused code around the plan types from the
`cloud_llm_client`.

Release Notes:

- N/A

Change summary

crates/cloud_llm_client/src/cloud_llm_client.rs | 19 -------------------
1 file changed, 19 deletions(-)

Detailed changes

crates/cloud_llm_client/src/cloud_llm_client.rs 🔗

@@ -79,12 +79,6 @@ pub enum Plan {
     V2(PlanV2),
 }
 
-impl Plan {
-    pub fn is_v2(&self) -> bool {
-        matches!(self, Self::V2(_))
-    }
-}
-
 #[derive(Debug, Clone, Copy, Default, PartialEq, Serialize, Deserialize)]
 #[serde(rename_all = "snake_case")]
 pub enum PlanV2 {
@@ -94,19 +88,6 @@ pub enum PlanV2 {
     ZedProTrial,
 }
 
-impl FromStr for PlanV2 {
-    type Err = anyhow::Error;
-
-    fn from_str(value: &str) -> Result<Self, Self::Err> {
-        match value {
-            "zed_free" => Ok(Self::ZedFree),
-            "zed_pro" => Ok(Self::ZedPro),
-            "zed_pro_trial" => Ok(Self::ZedProTrial),
-            plan => Err(anyhow::anyhow!("invalid plan: {plan:?}")),
-        }
-    }
-}
-
 #[derive(
     Debug, PartialEq, Eq, Hash, Clone, Copy, Serialize, Deserialize, EnumString, EnumIter, Display,
 )]