Skip to content

Commit

Permalink
Rename RadioDeploymentInfo => CbrsRadioDeploymentInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
kurotych committed Nov 20, 2024
1 parent f10a962 commit 6e2c056
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mobile_config/src/gateway_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl From<WifiDeploymentInfoProto> for WifiDeploymentInfo {

#[derive(Clone, Debug, Deserialize)]
pub struct CbrsDeploymentInfo {
pub cbrs_radios_deployment_info: Vec<RadioDeploymentInfo>,
pub cbrs_radios_deployment_info: Vec<CbrsRadioDeploymentInfo>,
}

impl From<CbrsDeploymentInfoProto> for CbrsDeploymentInfo {
Expand All @@ -53,7 +53,7 @@ impl From<CbrsDeploymentInfoProto> for CbrsDeploymentInfo {
}
}

impl From<CbrsRadioDeploymentInfoProto> for RadioDeploymentInfo {
impl From<CbrsRadioDeploymentInfoProto> for CbrsRadioDeploymentInfo {
fn from(v: CbrsRadioDeploymentInfoProto) -> Self {
Self {
radio_id: v.radio_id,
Expand All @@ -63,7 +63,7 @@ impl From<CbrsRadioDeploymentInfoProto> for RadioDeploymentInfo {
}

#[derive(Clone, Debug, Deserialize)]
pub struct RadioDeploymentInfo {
pub struct CbrsRadioDeploymentInfo {
/// CBSD_ID
pub radio_id: String,
/// The asserted elevation of the gateway above ground level in whole meters
Expand Down Expand Up @@ -178,8 +178,8 @@ impl From<WifiDeploymentInfo> for WifiDeploymentInfoProto {
}
}

impl From<RadioDeploymentInfo> for CbrsRadioDeploymentInfoProto {
fn from(v: RadioDeploymentInfo) -> Self {
impl From<CbrsRadioDeploymentInfo> for CbrsRadioDeploymentInfoProto {
fn from(v: CbrsRadioDeploymentInfo) -> Self {
Self {
radio_id: v.radio_id,
elevation: v.elevation,
Expand Down

0 comments on commit 6e2c056

Please sign in to comment.