pub fn build(&self) -> crate::Result<ReleaseList> {
    Ok(ReleaseList {
      repo_owner: if let Some(ref owner) = self.repo_owner {
        owner.to_owned()
      } else {
        return Err(crate::Error::Config("`repo_owner`".into()).into());
      },
      repo_name: if let Some(ref name) = self.repo_name {
        name.to_owned()
      } else {
        return Err(crate::Error::Config("`repo_name`".into()).into());
      },
      target: self.target.clone(),
    })
  }
/// Verify builder args, returning a `ReleaseList`
Verify builder args, returning a `ReleaseList`
Verify builder args returning a ` ReleaseList `
pub fn build(&self) -> crate::Result<ReleaseList> {
    Ok(ReleaseList {
      repo_owner: if let Some(ref owner) = self.repo_owner {
        owner.to_owned()
      } else {
        return Err(crate::Error::Config("`repo_owner`".into()).into());
      },
      repo_name: if let Some(ref name) = self.repo_name {
        name.to_owned()
      } else {
        return Err(crate::Error::Config("`repo_name`".into()).into());
      },
      target: self.target.clone(),
    })
  }
pub fn build ( & self ) -> crate :: Result < ReleaseList > { Ok ( ReleaseList { repo_owner : if let Some ( ref owner ) = self . repo_owner { owner . to_owned ( ) } else { return Err ( crate :: Error :: Config ( " " . into ( ) ) . into ( ) ) ; } , repo_name : if let Some ( ref name ) = self . repo_name { name . to_owned ( ) } else { return Err ( crate :: Error :: Config ( " " . into ( ) ) . into ( ) ) ; } , target : self . target . clone ( ) , } ) }
Verify builder args, returning a `ReleaseList`
Verify builder args returning a ` ReleaseList `
&self
&self