pub struct Gandi {
pub config: Config,
pub auth: Auth,
}Fields§
§config: Config§auth: AuthImplementations§
Trait Implementations§
Source§impl DnsProvider for Gandi
impl DnsProvider for Gandi
async fn get_record<T>(
&self,
rtype: RecordType,
host: &str,
) -> Result<Option<T>>where
T: DeserializeOwned,
async fn create_record<T>( &self, rtype: RecordType, host: &str, rec: &T, ) -> Result<()>
async fn update_record<T>( &self, rtype: RecordType, host: &str, ip: &T, ) -> Result<()>
async fn delete_record(&self, rtype: RecordType, host: &str) -> Result<()>
async fn get_txt_record(&self, host: &str) -> Result<Option<String>>
async fn create_txt_record(&self, host: &str, record: &String) -> Result<()>
async fn update_txt_record(&self, host: &str, record: &String) -> Result<()>
async fn delete_txt_record(&self, host: &str) -> Result<()>
async fn get_a_record(&self, host: &str) -> Result<Option<Ipv4Addr>>
async fn create_a_record(&self, host: &str, record: &Ipv4Addr) -> Result<()>
async fn update_a_record(&self, host: &str, record: &Ipv4Addr) -> Result<()>
async fn delete_a_record(&self, host: &str) -> Result<()>
Auto Trait Implementations§
impl Freeze for Gandi
impl RefUnwindSafe for Gandi
impl Send for Gandi
impl Sync for Gandi
impl Unpin for Gandi
impl UnwindSafe for Gandi
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