Enum jsonrpsee_core::server::access_control::cors::AllowHeaders
source · Expand description
Headers allowed to access
Variants§
Implementations§
source§impl AllowHeaders
impl AllowHeaders
sourcepub fn to_cors_header_value(&self) -> Cow<'_, str>
pub fn to_cors_header_value(&self) -> Cow<'_, str>
Return an appropriate value for the CORS header “Access-Control-Allow-Headers”.
Trait Implementations§
source§impl Clone for AllowHeaders
impl Clone for AllowHeaders
source§fn clone(&self) -> AllowHeaders
fn clone(&self) -> AllowHeaders
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more