pub trait Endpoint { // Required methods fn credentials(&self) -> String; fn as_url(&self) -> String; }