pub enum Authority {
None,
Server(Url),
Actor(Url),
}Expand description
The Authority that is providing the ingested data
- An Authority of None means the data is untrustworthy, as no entity can be verified to have provided this data
- An Authority of Server means the data to be ingested has been provided on behalf of it’s origin server. A URL is provided in the Server variant to describe the specific URL the data originates from.
- An Authority of Actor(Url) means the data to be ingested has been provided on behalf of the Actor identified by the associated URL
Variants§
None
No Authority provided
Server(Url)
The Authority for ingested data is the server the data is hosted on
Actor(Url)
The Authority for the ingested data is the provided url
Trait Implementations§
Source§impl Ord for Authority
impl Ord for Authority
Source§impl PartialOrd for Authority
impl PartialOrd for Authority
impl Eq for Authority
impl StructuralPartialEq for Authority
Auto Trait Implementations§
impl Freeze for Authority
impl RefUnwindSafe for Authority
impl Send for Authority
impl Sync for Authority
impl Unpin for Authority
impl UnwindSafe for Authority
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