Struct ceramic_config::HttpApi
source · pub struct HttpApi {
pub hostname: String,
pub port: u16,
pub cors_allowed_origins: Vec<String>,
pub admin_dids: Vec<String>,
}Fields§
§hostname: String§port: u16§cors_allowed_origins: Vec<String>§admin_dids: Vec<String>Trait Implementations§
source§impl<'de> Deserialize<'de> for HttpApi
impl<'de> Deserialize<'de> for HttpApi
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for HttpApi
impl Send for HttpApi
impl Sync for HttpApi
impl Unpin for HttpApi
impl UnwindSafe for HttpApi
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