pub struct CommonsObligation {
pub licence_class: String,
pub production_cost_cents: u64,
pub roi_cap_percent: u64,
pub accumulated_pool_cents: u64,
pub transaction_cost_per_mib_cents: u64,
pub perpetual_fees_prohibited: bool,
}Expand description
Humanitarian ICT & Permissive Commons terms for living biosphere & cognitive heritage.
§Ontological Demarcation:
- Commercial Rights / Manufactured Property (
ManufacturedProperty): Commercial vendors (e.g. Nike, industrial manufacturers, proprietary software authors) retain full commercial freedom to set market prices, profit margins, and licensing terms. Consumers have a right to fundamental bodily needs (shoes to walk, shelter, clothing), but not an entitlement to a specific trademarked commercial design of shoe. - “World of God” / Biosphere / Knowledge for Life (
DarwinianTaxon,AbioticEnvironment): Pertains to living species, ecological heritage, and foundational knowledge necessary for life, being, and freedom of thought. These CANNOT be enclosed behind perpetual tollbooths or privatized royalties. Instead, under Humanitarian ICT principles:- Finite Obligation Cost: The limited, auditable labor and digitization cost to produce the virtual entity may be recovered up to an ROI cap via an accumulated compensation pool.
- Direct Carriage / Bandwidth Recovery: Actual transaction cost per MiB for network transport may be met at cost.
- No Perpetual Fees: Once production obligations are discharged, the asset remains in pure permissive commons with zero perpetual tolls.
Fields§
§licence_class: StringLicencing framework: “SocialPermissiveCommons”, “CC0-1.0”, “CC-BY-4.0”, etc.
production_cost_cents: u64Finite, audited cost of production in minor units (e.g. cents) - 0 if purely donated commons.
roi_cap_percent: u64Legal ROI cap percentage (capped to prevent extractive rent).
accumulated_pool_cents: u64Cumulative compensation payments made towards discharging production cost.
transaction_cost_per_mib_cents: u64Allowed carrier/bandwidth transaction recovery cost in minor units per MiB.
perpetual_fees_prohibited: boolProhibits perpetual fees or rent-seeking tolls in perpetuity.
Implementations§
Source§impl CommonsObligation
impl CommonsObligation
Sourcepub fn is_discharged(&self) -> bool
pub fn is_discharged(&self) -> bool
true when discharged.
Sourcepub fn outstanding_obligation(&self) -> u64
pub fn outstanding_obligation(&self) -> u64
Outstanding commons obligation in cents.
Sourcepub fn discharge_to_commons(&mut self) -> bool
pub fn discharge_to_commons(&mut self) -> bool
Automatically discharges the obligation when accumulated compensation meets the capped production cost, transitioning licence to SocialPermissiveCommons.
Trait Implementations§
Source§impl Clone for CommonsObligation
impl Clone for CommonsObligation
Source§impl Debug for CommonsObligation
impl Debug for CommonsObligation
Source§impl<'de> Deserialize<'de> for CommonsObligation
impl<'de> Deserialize<'de> for CommonsObligation
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
Source§impl PartialEq for CommonsObligation
impl PartialEq for CommonsObligation
Source§impl Serialize for CommonsObligation
impl Serialize for CommonsObligation
impl StructuralPartialEq for CommonsObligation
Auto Trait Implementations§
impl Freeze for CommonsObligation
impl RefUnwindSafe for CommonsObligation
impl Send for CommonsObligation
impl Sync for CommonsObligation
impl Unpin for CommonsObligation
impl UnsafeUnpin for CommonsObligation
impl UnwindSafe for CommonsObligation
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more