Skip to content
This repository was archived by the owner on Nov 22, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/api/droplet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ pub mod droplet_fields {
/// These exist in the `networks` field of a droplet.
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct NetworkV4 {
pub gateway: Ipv4Addr,
/// *Note:* Gateway is a String rather than Ipv4Addr as a workaround until time permits to correctly parse this field.
pub gateway: String,
pub ip_address: Ipv4Addr,
pub netmask: Ipv4Addr,
/// *Note:* Since `type` is a keyword in Rust `kind` is used instead.
Expand Down